Hey all,

I was having some fun earlier today, going through some .conf files in
Vim and i noticed that conf file that are bind-style (conf filetype in
vim) that use C-style comments like: /* comment */ are not recognized
as the conf filetype (or any other filetype for that matter) and even
when i force the conf filetype on by adding "# comment" to the first
line of the file, the C-style comments don't get any syntax
hilighting.

The filetype detection seems to be around line 2405 (or possibly 2445)
in the filetype.vim runtime file, it seems to be looking for a # on
any one of the first 5 lines of the file. Perhaps some additional
detection for C-style comments as well there? Also somewhere in
probably the filetype plugin or possibly the filetype syntax file,
it'd be nice if support for C-style comments in config files was there
too.

Thanks
JD

-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui