Przeglądaj źródła

Fix config var name to suppress version warnings

Also fix incorrect attribution of feature
JP Flouret 8 lat temu
rodzic
commit
955db15225
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      doc/bufexplorer.txt
  2. 1 1
      plugin/bufexplorer.vim

+ 1 - 1
doc/bufexplorer.txt

@@ -264,7 +264,7 @@ The default is 1.
 CHANGE LOG                                              *bufexplorer-changelog*
 CHANGE LOG                                              *bufexplorer-changelog*
 
 
 7.4.20   January 18, 2017
 7.4.20   January 18, 2017
-    - Thanks to arcseldon for supplying code that can remove the warning
+    - Thanks to jpflouret for supplying code that can remove the warning
       messages if you using this plugin on an older version of Vim.  The
       messages if you using this plugin on an older version of Vim.  The
       global variable is g:bufExplorerVersionWarn.
       global variable is g:bufExplorerVersionWarn.
 7.4.19   September 18, 2017
 7.4.19   September 18, 2017

+ 1 - 1
plugin/bufexplorer.vim

@@ -95,7 +95,7 @@ endif
 if v:version > 703 || v:version == 703 && has('patch1261') && has('patch1264')
 if v:version > 703 || v:version == 703 && has('patch1261') && has('patch1264')
     " We are good to go.
     " We are good to go.
 else
 else
-    if g:bufexplorer_version_warn
+    if g:bufExplorerVersionWarn
         echohl WarningMsg
         echohl WarningMsg
         echo "Sorry, bufexplorer ".g:bufexplorer_version." required Vim 7.3 or greater with patch1261 and patch1264."
         echo "Sorry, bufexplorer ".g:bufexplorer_version." required Vim 7.3 or greater with patch1261 and patch1264."
         echohl None
         echohl None