> > i have two identical smarty files:
>
> Content is identical? Or file name/extension? Or both?
they are identical in content and extension. name is obviously different. i just did another test with these steps:
touch foo1.tpl
vim foo1.tpl -> put some smarty/html tags and quit
cp foo1.tpl foo2.tpl
vim foo1.tpl -> recognized as heist
:e foo2.tpl -> recognized as smarty
after loading foo1.tpl, "verbose set ft?" gives:
filetype=heist
Last set from ~/.vim/bundle/vim2hs/ftdetect/heist.vim
after loading foo2.tpl
filetype=smarty
Last set from ~/.vim/ftplugin/smarty.vim
so the culprit is known, but the question is why? why the first file gets recognized one way and the second another way?
--
--
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:
Post a Comment