diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-03 20:12:17 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-03 20:12:17 +1300 |
commit | 07a97f3cdcca67bb6cd7735ad12109b613b84f80 (patch) | |
tree | dbe8bafaf17ab9bf7f5bfce10b6ff3cc42ef96a8 /urxvt | |
parent | Bump version number to 0.4.2 (diff) | |
download | dotfiles-07a97f3cdcca67bb6cd7735ad12109b613b84f80.tar.gz dotfiles-07a97f3cdcca67bb6cd7735ad12109b613b84f80.zip |
Require eval feature for netrw opts assignment
Tiny builds of Vim that exclude the eval feature throw errors at the
:let commands in this file:
$ vim.tiny
Error detected while processing /home/tom/.vim/config/netrw.vim:
line 2:
E319: Sorry, the command is not available in this version: let g:netrw_banner = 0
line 5:
E319: Sorry, the command is not available in this version: let g:netrw_silent = 1
line 8:
E319: Sorry, the command is not available in this version: let g:netrw_liststyle = 3
line 11:
E319: Sorry, the command is not available in this version: let g:netrw_list_hide = '^\.$,^tags$'
Press ENTER or type command to continue
This code was not being run on such builds before commit 538b71c,
because it was in an "after" directory for the netrw plugin and would
have been skipped.
Wrapping a check for has('eval') around this whole file fixes the
problem. netrw.vim won't run without this feature anyway.
Diffstat (limited to 'urxvt')
0 files changed, 0 insertions, 0 deletions