aboutsummaryrefslogtreecommitdiff
path: root/vim/config/netrw.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-03 20:19:21 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-03 20:19:21 +1300
commit49cc5f75e2f21437a16983e3902833995a75e169 (patch)
treedbe8bafaf17ab9bf7f5bfce10b6ff3cc42ef96a8 /vim/config/netrw.vim
parentdb5330a8b557b5a69a8190878a1654b2ca047cbd (diff)
parent07a97f3cdcca67bb6cd7735ad12109b613b84f80 (diff)
downloaddotfiles-49cc5f75e2f21437a16983e3902833995a75e169.tar.gz
dotfiles-49cc5f75e2f21437a16983e3902833995a75e169.zip
Merge branch 'hotfix/v0.4.2'v0.4.2
* hotfix/v0.4.2: Require eval feature for netrw opts assignment Bump version number to 0.4.2
Diffstat (limited to 'vim/config/netrw.vim')
-rw-r--r--vim/config/netrw.vim21
1 files changed, 13 insertions, 8 deletions
diff --git a/vim/config/netrw.vim b/vim/config/netrw.vim
index 528f0ca6..b38649b9 100644
--- a/vim/config/netrw.vim
+++ b/vim/config/netrw.vim
@@ -1,11 +1,16 @@
-" Don't show the preamble banner
-let g:netrw_banner = 0
+" netrw plugin configuration
+if has('eval')
-" Perform file transfers silently
-let g:netrw_silent = 1
+ " Don't show the preamble banner
+ let g:netrw_banner = 0
-" Use a tree-style file listing
-let g:netrw_liststyle = 3
+ " Perform file transfers silently
+ let g:netrw_silent = 1
-" Don't list the current directory shortcut, and don't show tags files
-let g:netrw_list_hide = '^\.$,^tags$'
+ " Use a tree-style file listing
+ let g:netrw_liststyle = 3
+
+ " Don't list the current directory shortcut, and don't show tags files
+ let g:netrw_list_hide = '^\.$,^tags$'
+
+endif