diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/ftplugin/bindzone.vim | 16 | ||||
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/runtime/ftplugin/bindzone.vim b/runtime/ftplugin/bindzone.vim new file mode 100644 index 0000000000..f9e5f4ba3c --- /dev/null +++ b/runtime/ftplugin/bindzone.vim @@ -0,0 +1,16 @@ +" Vim filetype plugin file +" Language: bind zone file +" Maintainer: This runtime file is looking for a new maintainer. +" Last Change: 2024 Jul 06 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin=1 + +setlocal comments=b:; +setlocal commentstring=;\ %s +setlocal formatoptions-=t +setlocal formatoptions+=crq + +let b:undo_ftplugin = "setlocal com< cms< fo<" diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index d2cf87bea5..eae5817aee 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -236,6 +236,7 @@ local extension = { db = detect.bindzone, bicep = 'bicep', bicepparam = 'bicep', + zone = 'bindzone', bb = 'bitbake', bbappend = 'bitbake', bbclass = 'bitbake', |