Mercurial > vim
comparison runtime/autoload/netrw.vim @ 13965:6ef705baab8d v8.1.0001
patch 8.1.0001: the netrw plugin does not work
commit https://github.com/vim/vim/commit/00e45563384de01949b9c4df9155424604887b33
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 17 May 2018 23:45:05 +0200 |
parents | 92a0a33f8296 |
children | ca8e754bdd53 |
comparison
equal
deleted
inserted
replaced
13964:0115cadbee18 | 13965:6ef705baab8d |
---|---|
20 " =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | 20 " =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- |
21 " Load Once: {{{1 | 21 " Load Once: {{{1 |
22 if &cp || exists("g:loaded_netrw") | 22 if &cp || exists("g:loaded_netrw") |
23 finish | 23 finish |
24 endif | 24 endif |
25 " netrw requires vim having patch 213; netrw will benefit from vim's having patch#656, too | 25 " netrw requires vim having patch 7.4.213; netrw will benefit from vim's having patch#656, too |
26 if v:version < 704 || !has("patch213") | 26 if v:version < 704 || (v:version == 704 && !has("patch213")) |
27 if !exists("s:needpatch213") | 27 if !exists("s:needpatch213") |
28 unsilent echomsg "***sorry*** this version of netrw requires vim v7.4 with patch 213" | 28 unsilent echomsg "***sorry*** this version of netrw requires vim v7.4 with patch 213" |
29 endif | 29 endif |
30 let s:needpatch213= 1 | 30 let s:needpatch213= 1 |
31 finish | 31 finish |