# HG changeset patch # User Christian Brabandt # Date 1526593505 -7200 # Node ID 6ef705baab8d575feebfd7af91a5c1325338b0c3 # Parent 0115cadbee1870854a5ae572425d18c12dc98535 patch 8.1.0001: the netrw plugin does not work commit https://github.com/vim/vim/commit/00e45563384de01949b9c4df9155424604887b33 Author: Bram Moolenaar Date: Thu May 17 23:40:05 2018 +0200 patch 8.1.0001: the netrw plugin does not work Problem: The netrw plugin does not work. Solution: Make it accept version 8.x. diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim --- 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 --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1, +/**/ 0 };