diff options
Diffstat (limited to 'vim/ftdetect/sh.vim')
-rw-r--r-- | vim/ftdetect/sh.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/ftdetect/sh.vim b/vim/ftdetect/sh.vim index dce776cf..236f329c 100644 --- a/vim/ftdetect/sh.vim +++ b/vim/ftdetect/sh.vim @@ -6,19 +6,19 @@ augroup dfsh autocmd BufNewFile,BufRead \ **/.dotfiles/bash/**,bash-fc-* \ let b:is_bash = 1 | - \ setlocal filetype=sh + \ setfiletype sh " Names/paths of things that are Korn shell script autocmd BufNewFile,BufRead \ **/.dotfiles/ksh/**,.kshrc,*.ksh \ let b:is_kornshell = 1 | - \ setlocal filetype=sh + \ setfiletype sh " Names/paths of things that are POSIX shell script autocmd BufNewFile,BufRead \ **/.dotfiles/sh/**,.shinit,.shrc,.xinitrc,/etc/default/* \ let b:is_posix = 1 | - \ setlocal filetype=sh + \ setfiletype sh " If we determined something is b:is_kornshell, tack on b:is_ksh as well so " we can still tease out what is actually a kornshell script after sh.vim is |