summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-09-12 16:31:10 +0200
committerBram Moolenaar <Bram@vim.org>2016-09-12 16:31:10 +0200
commit9e1e7afc1f29b67fe3721442b49af3b20644a3ee (patch)
tree9fd3d5c41bc32d1acdbcf8571af8556f1a512382
parent6401024869dcd722ee1b98b4ba58e6caa215201b (diff)
downloadvim-git-9e1e7afc1f29b67fe3721442b49af3b20644a3ee.tar.gz
patch 8.0.0002v8.0.0002
Problem: The netrw plugin does not work. Solution: Make it accept version 8.0.
-rw-r--r--runtime/autoload/netrw.vim4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim
index de85844d5..76485c2f3 100644
--- a/runtime/autoload/netrw.vim
+++ b/runtime/autoload/netrw.vim
@@ -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
diff --git a/src/version.c b/src/version.c
index 67338cfd3..1b932fae4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2,
+/**/
1,
/**/
0