On Monday, February 1, 2016 at 2:45:55 PM UTC+9, Gary Johnson wrote:
> On 2016-01-31, mattn wrote:
> > Hi list and Dr.Chip.
> > 
> > This is a small fixing guard for loading script. You may want to
> > add logipat_version = 'v3'. Please take care of this and update
> > bunded one in vim repository.
> 
> What is the problem with setting g:loaded_LogiPat to "v3"?  It
> doesn't matter what the value is since the test of that variable is
> simply for its existence.  Also, if you look at Dr. Chip's other
> plugins, you'll see that they all follow the convention of setting
> the loaded_<plugin> variable to the version.
> 
> Regards,
> Gary

Try below

:let g:loaded_LogiPat = "v3"
:echo exists("loaded_logipat")

This is guard to avoid duplicate-loading. But always return 0.

- mattn

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

Raspunde prin e-mail lui