bash.vim 474 B

123456789101112131415161718192021
  1. " Vim filetype plugin file
  2. " Language: bash
  3. " Maintainer: Bram Moolenaar
  4. " Last Changed: 2019 Jan 12
  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. if exists("b:did_ftplugin")
  10. finish
  11. endif
  12. unlet! b:is_sh
  13. unlet! b:is_kornshell
  14. let b:is_bash = 1
  15. runtime! ftplugin/sh.vim ftplugin/sh_*.vim ftplugin/sh/*.vim
  16. " vim: ts=8