Re: minor bug in the LogiPat plugin for Vim

2015-08-03 Fir de Conversatie Charles Campbell
LCD 47 wrote:
 This has been mentioned on StackOverflow:  LogiPat sets
 g:loaded_LogiPat, but checks for loaded_logipat:

 http://stackoverflow.com/a/31695784

 Obvious fix below.

 Best regards,

 /lcd


 diff --git a/runtime/plugin/logiPat.vim b/runtime/plugin/logiPat.vim
 --- a/runtime/plugin/logiPat.vim
 +++ b/runtime/plugin/logiPat.vim
 @@ -36,7 +36,7 @@
  
   -
   Load Once: {{{1
 -if cp || exists(loaded_logipat)
 +if cp || exists(g:loaded_LogiPat)
   finish
  endif
  let g:loaded_LogiPat = v3

This bug has been fixed for quite a while -- but you need to get the
copy from my website:
http://www.drchip.org/astronaut/vim/index.html#LOGIPAT .  Bram picked up
the version from vim.sf.net.  I'll be submitting a more up-to-date
version soon, now that I'm back from a trip to Glacier National Park (USA).

Regards,
Chip Campbell

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


minor bug in the LogiPat plugin for Vim

2015-07-29 Fir de Conversatie LCD 47
This has been mentioned on StackOverflow:  LogiPat sets
g:loaded_LogiPat, but checks for loaded_logipat:

http://stackoverflow.com/a/31695784

Obvious fix below.

Best regards,

/lcd


diff --git a/runtime/plugin/logiPat.vim b/runtime/plugin/logiPat.vim
--- a/runtime/plugin/logiPat.vim
+++ b/runtime/plugin/logiPat.vim
@@ -36,7 +36,7 @@
 
  -
  Load Once: {{{1
-if cp || exists(loaded_logipat)
+if cp || exists(g:loaded_LogiPat)
  finish
 endif
 let g:loaded_LogiPat = v3

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.