Syntax highlighting again.

Doug Kearns djkea2 at mugca.its.monash.edu.au
Sat Apr 17 01:55:19 EDT 2004


On Sat, Apr 17, 2004 at 12:41:29AM +1000, Doug Kearns wrote:
 
> There's obviously something wrong with the filetype detection, maybe a
> bug in vim?

As you say, the filetype is being detected correctly as ruby for both
files. However, the file without the *.rb extension is _first_ detected
as being of filetype sh and then, when the modeline is read, this is
changed to filetype ruby.

Doug


More information about the vim-ruby-devel mailing list