]> granicus.if.org Git - vim/commitdiff
patch 8.0.0002 v8.0.0002
authorBram Moolenaar <Bram@vim.org>
Mon, 12 Sep 2016 14:31:10 +0000 (16:31 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 12 Sep 2016 14:31:10 +0000 (16:31 +0200)
Problem:    The netrw plugin does not work.
Solution:   Make it accept version 8.0.

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 67338cfd310ba2ab6996543b4f1e5b2f09339089..1b932fae4318dc4dc6467aefd6288a7e90241434 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2,
 /**/
     1,
 /**/