blob: 7bd9787b6c6cb838414ac2519386eb4a0824f8eb [file] [log] [blame]
Bram Moolenaard09091d2019-01-17 16:07:22 +01001" 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
10if exists("b:did_ftplugin")
11 finish
12endif
13
Bram Moolenaar5be4cee2019-09-27 19:34:08 +020014unlet! b:is_sh
15unlet! b:is_kornshell
Bram Moolenaard09091d2019-01-17 16:07:22 +010016let b:is_bash = 1
Bram Moolenaard09091d2019-01-17 16:07:22 +010017
Bram Moolenaar5be4cee2019-09-27 19:34:08 +020018runtime! ftplugin/sh.vim ftplugin/sh_*.vim ftplugin/sh/*.vim
Bram Moolenaard09091d2019-01-17 16:07:22 +010019
Bram Moolenaar5be4cee2019-09-27 19:34:08 +020020" vim: ts=8