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

2d0988ef93

Co-authored-by: Scott McKendry <scott.c.mckendry@gmail.com>
This commit is contained in:
Christian Clason
2023-08-21 09:49:04 +09:00
parent a5b6468e9b
commit eaad2f7806
2 changed files with 2 additions and 1 deletions

View File

@@ -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',

View File

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