Permalink
Browse files

patch 8.1.0001: the netrw plugin does not work

Problem:    The netrw plugin does not work.
Solution:   Make it accept version 8.x.
  • Loading branch information...
brammool committed May 17, 2018
1 parent b1c9198 commit 00e45563384de01949b9c4df9155424604887b33
Showing with 4 additions and 2 deletions.
  1. +2 −2 runtime/autoload/netrw.vim
  2. +2 −0 src/version.c
@@ -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
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1,
/**/
0
};

0 comments on commit 00e4556

Please sign in to comment.