On Feb 10, 5:25 pm, Ben Schmidt <[email protected]> wrote:
> When you have a file open, what do you see if you do
>
> :verbose set ft?
>
> and
>
> :verbose set syn?

Thanks, turns out the ft and syn were "conf". Some digging revealed
that Vim sets the ft (and consequently syn) to "conf" if the file
includes a line starting with # (which seems like an over-inclusive
heuristic).

What's the best way to deal with that?  I have plenty of files (e.g.
markdown-formatted) that have # at the beginning of their lines but
are decidedly not "conf" files.

.D

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to