]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1768: Runtime: no support for bicep files v9.0.1768
authorScott McKendry <scott.c.mckendry@gmail.com>
Sun, 20 Aug 2023 17:17:42 +0000 (19:17 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 20 Aug 2023 17:17:42 +0000 (19:17 +0200)
Problem:  Runtime: no support for bicep files
Solution: Add filetype support for bicepparam

closes: #12784

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Scott McKendry <scott.c.mckendry@gmail.com>
runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c

index 84c1fd1f2aea1643e8159826ec356cb5ddb8a9d8..16d4a131fd624842712976c311c53369c7e0dc37 100644 (file)
@@ -245,7 +245,7 @@ au BufNewFile,BufRead *.bib                 setf bib
 au BufNewFile,BufRead *.bst                    setf bst
 
 " Bicep
-au BufNewFile,BufRead *.bicep                  setf bicep
+au BufNewFile,BufRead *.bicep,*.bicepparam                     setf bicep
 
 " BIND configuration
 " sudoedit uses namedXXXX.conf
index 5225db24e96bb53ea4c8f071c0a8414c62738ef2..778736b36ccd1144c98f6905654c2fb5f55fefe2 100644 (file)
@@ -119,7 +119,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     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'],
index e6f41a4a2f0a59d54f8e692903013d46f53f9cc5..598e3eecdcdaae46a683b10a7d23c2c79ecd8471 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1768,
 /**/
     1767,
 /**/