Wednesday, October 30, 2013

Re: Vim variables not being created.

On Wednesday, October 30, 2013 9:14:36 PM UTC+5:30, MarcWeber wrote:
> 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

Hi..

I have downloaded the pulgin from the below link..

http://www.vim.org/scripts/script.php?script_id=2372

File :: automatic.vim is the one im using.

Im placing this file in my home directory(linux) ~/.vim/ftdetect/automatic.vim

is this the cause of problem??

All local buffer variables(with b:*) in file automatic.vim are undefined.

But i can still see the verilog menu being loaded from automatic.vim in my Gvim menu bar.

Im using Gvim version 703.

Thanks
sai

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