Skip to content

Commit 9e1e7af

Browse files
committed
patch 8.0.0002
Problem: The netrw plugin does not work. Solution: Make it accept version 8.0.
1 parent 6401024 commit 9e1e7af

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

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
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
2,
767769
/**/
768770
1,
769771
/**/

0 commit comments

Comments
 (0)