aboutsummaryrefslogtreecommitdiff
path: root/vim/scripts.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-15 12:23:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-15 12:23:53 +1200
commit9ffd25906b9ec3b85bd37e2ba3d9a5b6ee1b3a0e (patch)
tree2a0c98c8f056a30caae9c28cbe8557ad1f46a95a /vim/scripts.vim
parente7bc8cece5da8400e45f7f66f2be9a3b2c34ddc4 (diff)
downloaddotfiles-9ffd25906b9ec3b85bd37e2ba3d9a5b6ee1b3a0e.tar.gz
dotfiles-9ffd25906b9ec3b85bd37e2ba3d9a5b6ee1b3a0e.zip
Simplify/correct Korn shell shebang matching
mksh93 is not valid; neither is pdksh93.
Diffstat (limited to 'vim/scripts.vim')
-rw-r--r--vim/scripts.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/scripts.vim b/vim/scripts.vim
index f28e29a9..6a44aa3f 100644
--- a/vim/scripts.vim
+++ b/vim/scripts.vim
@@ -44,7 +44,7 @@ elseif s:line =~# '\m\<bash\>'
setfiletype sh
" Korn shell
-elseif s:line =~# '\m\<\%(m\|pd\)\=ksh\%(93\)\=\>'
+elseif s:line =~# '\m\<\%(\ksh\|ksh93\|mksh\|pdksh\)\>'
let b:is_kornshell = 1
setfiletype sh