Loading ...
Sorry, an error occurred while loading the content.

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

Expand Messages
  • Dotan Cohen
    Nov 4, 2012
      On Thu, Nov 1, 2012 at 4:38 PM, Ben Fritz <fritzophrenic@...> 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
    • Show all 15 messages in this topic