Tuesday, May 21, 2013

Re: how to debug file type recognition

On Tue, May 21, 2013 at 03:52:03AM -0700, Matteo Cavalleri wrote:
> i have two identical smarty files: i load the first one and it gets
> recognized as "heist". i load the second one and it gets correclty
> recognized as smarty... how can that happen?

> if i start vim with "vim -u NONE -U NONE" and give the commands
> ":set nocompatible" and ":syntax on", the files are all recognized
> as smarty, so the problem should either be in my .vimrc or some
> plugin, but i have no idea where to look for to fix this problem.

the first thing I'd try would be

:verbose set ft?

in the first "heist" buffer

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: