diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-08-21 09:49:04 +0900 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-08-21 10:13:44 +0900 |
commit | eaad2f7806a3f2ff29997e0533a09cf78397cf1c (patch) | |
tree | 99b30ebe89162eb6420945efb314633601fb8f86 | |
parent | a5b6468e9bc19d3e01846c9a6a47a766b8b81a5a (diff) | |
download | rneovim-eaad2f7806a3f2ff29997e0533a09cf78397cf1c.tar.gz rneovim-eaad2f7806a3f2ff29997e0533a09cf78397cf1c.tar.bz2 rneovim-eaad2f7806a3f2ff29997e0533a09cf78397cf1c.zip |
vim-patch:9.0.1768: Runtime: no support for bicep files
Problem: Runtime: no support for bicep files
Solution: Add filetype support for bicepparam
closes: vim/vim#12784
https://github.com/vim/vim/commit/2d0988ef93c6e8e59381c9cd123efbc2cd1faf92
Co-authored-by: Scott McKendry <scott.c.mckendry@gmail.com>
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 | ||||
-rw-r--r-- | test/old/testdir/test_filetype.vim | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index bb7d9f174a..ffb284cca7 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -229,6 +229,7 @@ local extension = { com = detect_seq(detect.bindzone, 'dcl'), db = detect.bindzone, bicep = 'bicep', + bicepparam = 'bicep', bb = 'bitbake', bbappend = 'bitbake', bbclass = 'bitbake', diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim index 90bf302937..f11c0ffc31 100644 --- a/test/old/testdir/test_filetype.vim +++ b/test/old/testdir/test_filetype.vim @@ -109,7 +109,7 @@ func s:GetFilenameChecks() abort \ 'bdf': ['file.bdf'], \ 'beancount': ['file.beancount'], \ 'bib': ['file.bib'], - \ 'bicep': ['file.bicep'], + \ 'bicep': ['file.bicep', 'file.bicepparam'], \ 'bindzone': ['named.root', '/bind/db.file', '/named/db.file', 'any/bind/db.file', 'any/named/db.file'], \ 'bitbake': ['file.bb', 'file.bbappend', 'file.bbclass', 'build/conf/local.conf', 'meta/conf/layer.conf', 'build/conf/bbappend.conf', 'meta-layer/conf/distro/foo.conf'], \ 'blade': ['file.blade.php'], |