Comment #10 on issue 326 by [email protected]: filetype plugin not loaded
when file opened from within vim rather than from command line
https://code.google.com/p/vim/issues/detail?id=326
Interestingly enough, if the first file I open is of a different type, the
plugins load correctly the first time I use :e (but not the second time)
$ vim test.html
(I get HTML syntax and indent and stuff)
:e foo.py
:verbose set ts? sta? sts? et? ft?
tabstop=8
Last set from /usr/share/vim/vim74/ftplugin/python.vim
nosmarttab
softtabstop=4
Last set from /usr/share/vim/vim74/ftplugin/python.vim
expandtab
Last set from /usr/share/vim/vim74/ftplugin/python.vim
filetype=python
Last set from /usr/share/vim/vim74/filetype.vim
:e bar.py
:verbose set ts? sta? sts? et? ft?
tabstop=4
nosmarttab
softtabstop=0
noexpandtab
filetype=python
Last set from /usr/share/vim/vim74/filetype.vim
So it's only when opening a second file of the same type that the plugins
don't get loaded. Actually, the same thing happens if I load a second HTML
file with :e after the first one, so it is not limited to the python plugin.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
You received this message from the "vim_dev" 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_dev" 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/d/optout.