Skip to content

Commit 00e4556

Browse files
committed
patch 8.1.0001: the netrw plugin does not work
Problem: The netrw plugin does not work. Solution: Make it accept version 8.x.
1 parent b1c9198 commit 00e4556

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

runtime/autoload/netrw.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
if &cp || exists("g:loaded_netrw")
2323
finish
2424
endif
25-
" netrw requires vim having patch 213; netrw will benefit from vim's having patch#656, too
26-
if v:version < 704 || !has("patch213")
25+
" netrw requires vim having patch 7.4.213; netrw will benefit from vim's having patch#656, too
26+
if v:version < 704 || (v:version == 704 && !has("patch213"))
2727
if !exists("s:needpatch213")
2828
unsilent echomsg "***sorry*** this version of netrw requires vim v7.4 with patch 213"
2929
endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1,
764766
/**/
765767
0
766768
};

0 commit comments

Comments
 (0)