diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-27 19:34:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-27 19:34:08 +0200 |
commit | 5be4ceecea5520265066eac972460ebb1cdf05e7 (patch) | |
tree | 818c9471879de5c5fb956c21f125cc8de9a42341 /runtime/ftplugin/bash.vim | |
parent | a7f6c3cf071bb6267e0bd2eb3d27ca240381ba87 (diff) |
Update runtime files.
Diffstat (limited to 'runtime/ftplugin/bash.vim')
-rw-r--r-- | runtime/ftplugin/bash.vim | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/runtime/ftplugin/bash.vim b/runtime/ftplugin/bash.vim index a3d01fc2ad..7bd9787b6c 100644 --- a/runtime/ftplugin/bash.vim +++ b/runtime/ftplugin/bash.vim @@ -11,21 +11,10 @@ if exists("b:did_ftplugin") finish endif +unlet! b:is_sh +unlet! b:is_kornshell let b:is_bash = 1 -if exists("b:is_sh") - unlet b:is_sh -endif -if exists("b:is_kornshell") - unlet b:is_kornshell -endif -" Setting 'filetype' here directly won't work, since we are being invoked -" through an autocommand. Do it later, on the BufWinEnter event. -augroup bash_filetype - au BufWinEnter * call SetBashFt() -augroup END +runtime! ftplugin/sh.vim ftplugin/sh_*.vim ftplugin/sh/*.vim -func SetBashFt() - au! bash_filetype - set ft=sh -endfunc +" vim: ts=8 |