0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00
vim/runtime/ftplugin/bash.vim

21 lines
474 B
VimL
Raw Normal View History

2019-01-17 16:07:22 +01: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
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