gt; > > >> The problem is that the cases of the variables are different. So
> > > > >> there's
> > > > >> no need to change the value "v3" to 1.
> > > > >> It seems that Dr. Chip's guards are based on the filenames.
>> there's
> > > >> no need to change the value "v3" to 1.
> > > >> It seems that Dr. Chip's guards are based on the filenames. So using
> > > >> "loaded_logiPat" might be consistent.
> > > > Yes, I know. So I sa
at Dr. Chip's guards are based on the filenames. So using
> > >> "loaded_logiPat" might be consistent.
> > > Yes, I know. So I said:
> > >
> > > You may want to add logipat_version = 'v3'.
> > >
> > The problem here is that the plug
Hi Bram,
2016-2-1(Sun) 23:47:18 UTC+9 Charles Campbell:
> mattn wrote:
> >> The problem is that the cases of the variables are different. So there's
> >> no need to change the value "v3" to 1.
> >> It seems that Dr. Chip's guards are based on the filename
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_ variable to the version.
> >
> > Regards,
> > Gary
>
> Try below
>
> :let g:loaded_LogiPat = "
ll follow the convention of setting
> the loaded_ 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 thi
> The problem is that the cases of the variables are different. So there's
> no need to change the value "v3" to 1.
> It seems that Dr. Chip's guards are based on the filenames. So using
> "loaded_logiPat" might be consistent.
Yes, I know. So I said:
You may w
mattn wrote:
>> The problem is that the cases of the variables are different. So there's
>> no need to change the value "v3" to 1.
>> It seems that Dr. Chip's guards are based on the filenames. So using
>> "loaded_logiPat" might be consistent.
> Ye
--- a/runtime/plugin/logiPat.vim
+++ b/runtime/plugin/logiPat.vim
@@ -39,7 +39,7 @@
if || exists("loaded_logipat")
finish
endif
-let g:loaded_LogiPat = "v3"
+let g:loaded_logipat = 1
let s:keepcpo=
set cpo
"DechoRemOn
--
--
You received this message from t
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
10 matches
Mail list logo