aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-03 20:19:44 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-03 20:19:44 +1300
commit57223ebc39f1de3327ff2073378ccda2cd1171c9 (patch)
tree65349a1ae4d6ccd5fe62fcfaec3c9d6f2bee15f8 /vim
parentMerge branch 'hotfix/v0.4.1' into develop (diff)
parentRequire eval feature for netrw opts assignment (diff)
downloaddotfiles-57223ebc39f1de3327ff2073378ccda2cd1171c9.tar.gz
dotfiles-57223ebc39f1de3327ff2073378ccda2cd1171c9.zip
Merge branch 'hotfix/v0.4.2' into develop
* hotfix/v0.4.2: Require eval feature for netrw opts assignment Bump version number to 0.4.2
Diffstat (limited to '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