Wednesday, October 30, 2013

Re: Vim variables not being created.

When does viml code get run (which defines vars)?

If you have the default setup, thus such (ftplugin etc enabled)
http://vim-wiki.mawercer.de/wiki/topic/vimrc.html

Then ftplugin/*.vim files get sourced when such a filetype is opened.
plugin/**/.vim files get sourced on startup
autoload/** get sourced automatically as needed (function autolad feature)

There are some more less cases such as ftdetect,syntax,... which I don't
consider important.
Thus make sure you're using such minimal .vimrc, if you still have
problems with the plugin post again, then it might be a bug in the
plugin or a filetype it did'nt expect.

I haven't looked at the plugin yet - so everything I wrote about is
important to know, but might not solve your issue.

Marc Weber

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