Detect File Type from Hash-Bang
Reported by y_feldblum (at yahoo) | December 5th, 2010 @ 11:56 PM
Sometimes I will write a script in Ruby, where I leave the
.rb
off the filename, give a #! /usr/bin/env
ruby
line at the top, and give the file the executable
bit.
Vim will detect that this file is Ruby source code, and will use the Ruby syntax highlighting.
Redcar should do the same detection and treat this executable script file as Ruby source code.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.