neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit eaad2f7806a3f2ff29997e0533a09cf78397cf1c
parent a5b6468e9bc19d3e01846c9a6a47a766b8b81a5a
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Mon, 21 Aug 2023 09:49:04 +0900

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>

Diffstat:
Mruntime/lua/vim/filetype.lua | 1+
Mtest/old/testdir/test_filetype.vim | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 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 @@ -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'],