bash.vim (504B)
1 " Vim filetype plugin file 2 " Language: bash 3 " Maintainer: The Vim Project <https://github.com/vim/vim> 4 " Last Changed: 2023 Aug 13 5 " 6 " This is not a real filetype plugin. It allows for someone to set 'filetype' 7 " to "bash" in the modeline, and gets the effect of filetype "sh" with 8 " b:is_bash set. Idea from Mahmode Al-Qudsi. 9 10 if exists("b:did_ftplugin") 11 finish 12 endif 13 14 unlet! b:is_sh 15 unlet! b:is_kornshell 16 let b:is_bash = 1 17 18 runtime! ftplugin/sh.vim ftplugin/sh_*.vim ftplugin/sh/*.vim 19 20 " vim: ts=8