2019-07-28 18:03:53 -07:00
|
|
|
" Vim filetype plugin file
|
|
|
|
" Language: bash
|
|
|
|
" Maintainer: Bram Moolenaar
|
|
|
|
" Last Changed: 2019 Jan 12
|
|
|
|
"
|
|
|
|
" This is not a real filetype plugin. It allows for someone to set 'filetype'
|
|
|
|
" to "bash" in the modeline, and gets the effect of filetype "sh" with
|
|
|
|
" b:is_bash set. Idea from Mahmode Al-Qudsi.
|
|
|
|
|
|
|
|
if exists("b:did_ftplugin")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2021-04-22 20:08:48 -07:00
|
|
|
unlet! b:is_sh
|
|
|
|
unlet! b:is_kornshell
|
2019-07-28 18:03:53 -07:00
|
|
|
let b:is_bash = 1
|
|
|
|
|
2021-04-22 20:08:48 -07:00
|
|
|
runtime! ftplugin/sh.vim ftplugin/sh_*.vim ftplugin/sh/*.vim
|
2019-07-28 18:03:53 -07:00
|
|
|
|
2021-04-22 20:08:48 -07:00
|
|
|
" vim: ts=8
|