On Thursday, May 23, 2013 3:36:57 AM UTC-5, Matteo Cavalleri wrote:
> > so the culprit is known, but the question is why? why the first file gets 
> > recognized one way and the second another way?
> 
> the content of ~/.vim/bundle/vim2hs/ftdetect/heist.vim is just:
> 
> autocmd BufNewFile,BufRead *.tpl setlocal filetype=heist
> 
> the content of  ~/.vim/ftplugin/smarty.vim is:
> 
> au BufRead,BufNewFile *.tpl set filetype=smarty
> 
> (plus some other code fir match it)

Files in the ftplugin directory should not be setting the filetype. That may be 
the culprit of your multiple loads as well. ftplugin/smarty.vim should only be 
running when you do "set ft=smarty" so setting it again is unnecessary at best.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to