]> granicus.if.org Git - vim/commitdiff
patch 8.1.0001: the netrw plugin does not work v8.1.0001
authorBram Moolenaar <Bram@vim.org>
Thu, 17 May 2018 21:40:05 +0000 (23:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 17 May 2018 21:40:05 +0000 (23:40 +0200)
Problem:    The netrw plugin does not work.
Solution:   Make it accept version 8.x.

runtime/autoload/netrw.vim
src/version.c

index de85844d5dc0f5ad01bfda11d56721fabd633c3a..76485c2f38150fdf96c8c7fac38e2334fe1f3681 100644 (file)
@@ -22,8 +22,8 @@
 if &cp || exists("g:loaded_netrw")
   finish
 endif
-" netrw requires vim having patch 213; netrw will benefit from vim's having patch#656, too
-if v:version < 704 || !has("patch213")
+" netrw requires vim having patch 7.4.213; netrw will benefit from vim's having patch#656, too
+if v:version < 704 || (v:version == 704 && !has("patch213"))
  if !exists("s:needpatch213")
   unsilent echomsg "***sorry*** this version of netrw requires vim v7.4 with patch 213"
  endif
index 8ff2445d9772b017f71ca4aef55e3d0dd93bb60a..04d8fb332327a81720680158b68f0464d1a0b2f6 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1,
 /**/
     0
 };