diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-15 10:52:00 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-15 10:52:00 +1200 |
commit | a26820130c1a71e217bec8731285463287f92665 (patch) | |
tree | bb19e9c6cf42883496e58f48d6c0cbc80ac9d12e /vim | |
parent | Merge branch 'release/v1.53.0' into develop (diff) | |
download | dotfiles-a26820130c1a71e217bec8731285463287f92665.tar.gz dotfiles-a26820130c1a71e217bec8731285463287f92665.zip |
Simplify g:is_posix unset, add g:is_kornshell
Diffstat (limited to 'vim')
-rw-r--r-- | vim/after/syntax/sh.vim | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim index 977ee2cb..95b4517d 100644 --- a/vim/after/syntax/sh.vim +++ b/vim/after/syntax/sh.vim @@ -6,10 +6,7 @@ endif " Remove g:is_posix if we resorted to it in order to get correct POSIX sh " highlighting with older Vim runtime files -if exists('g:is_posix') - \ && (v:version < 800 || v:version == 800 && !has('patch257')) - unlet g:is_posix -endif +unlet! g:is_posix g:is_kornshell " If we know we have another shell type, clear away the others completely, now " that core syntax/sh.vim is done prodding /bin/sh to determine the system |