]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: also set g:is_posix in addition to g:sh_is_posix
authorSimon Ruderich <simon@ruderich.org>
Sat, 18 Jun 2016 13:28:56 +0000 (15:28 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 18 Jun 2016 13:28:56 +0000 (15:28 +0200)
No idea why they remove the prefix.

vimrc

diff --git a/vimrc b/vimrc
index f96827c360a546304e6bb1bb5c148850f2d1842a..e8f19ff6c6cc38cd93b3b37e64384306e2443f1a 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -895,6 +895,7 @@ if has('syntax')
     " Shell
     let g:sh_noisk = 1        " don't add . to 'iskeyword'
     let g:sh_is_posix = 1     " POSIX shell (e.g. dash) is compatible enough
+    let g:is_posix = 1        " POSIX shell (e.g. dash) is compatible enough
     let g:sh_fold_enabled = 7 " functions (1), heredoc (2) and if/do/for (4)
     " Vim
     let g:vimsyn_embed = 0      " don't highlight embedded languages