1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-21 17:25:11 +01:00
vim/runtime/ftplugin/bash.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
504 B
VimL
Raw Permalink Normal View History

2019-01-17 16:07:22 +01:00
" Vim filetype plugin file
" Language: bash
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Changed: 2023 Aug 13
2019-01-17 16:07:22 +01:00
"
" 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
2019-09-27 19:34:08 +02:00
unlet! b:is_sh
unlet! b:is_kornshell
2019-01-17 16:07:22 +01:00
let b:is_bash = 1
2019-09-27 19:34:08 +02:00
runtime! ftplugin/sh.vim ftplugin/sh_*.vim ftplugin/sh/*.vim
2019-01-17 16:07:22 +01:00
2019-09-27 19:34:08 +02:00
" vim: ts=8