JD wrote: > 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.
The usual conf files don't have C-style comments. What file are you talking about? -- hundred-and-one symptoms of being an internet addict: 86. E-mail Deficiency Depression (EDD) forces you to e-mail yourself. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php
