Sunday, November 4, 2012

Re: What do I need to read to understand g: and s: VIM variable prefixes?

On Thu, Nov 1, 2012 at 4:38 PM, Ben Fritz <fritzophrenic@gmail.com> wrote:
> If somebody declares a variable with a g: prefix in Vim, they are explicitly declaring their intentions that the variable will be global. In other words, it is not a surprise or gotcha when the variable is available in a different scope. Am I misunderstanding your complaint?
>

I have no complaint. I just mentioned that Vimscript differs from
other environments.


--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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

No comments:

Post a Comment