diff options
Diffstat (limited to 'mnv/runtime/ftplugin/bash.mnv')
| -rw-r--r-- | mnv/runtime/ftplugin/bash.mnv | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugin/bash.mnv b/mnv/runtime/ftplugin/bash.mnv new file mode 100644 index 0000000000..7068e16463 --- /dev/null +++ b/mnv/runtime/ftplugin/bash.mnv @@ -0,0 +1,20 @@ +" MNV filetype plugin file +" Language: bash +" Maintainer: The MNV Project <https://github.com/Project-Tick/Project-Tick> +" Last Changed: 2023 Aug 13 +" +" 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 + +unlet! b:is_sh +unlet! b:is_kornshell +let b:is_bash = 1 + +runtime! ftplugin/sh.mnv ftplugin/sh_*.mnv ftplugin/sh/*.mnv + +" mnv: ts=8 |
