patch 9.0.1768: Runtime: no support for bicep files
Commit:
https://github.com/vim/vim/commit/2d0988ef93c6e8e59381c9cd123efbc2cd1faf92
Author: Scott McKendry <[email protected]>
Date: Sun Aug 20 19:17:42 2023 +0200
patch 9.0.1768: Runtime: no support for bicep files
Problem: Runtime: no support for bicep files
Solution: Add filetype support for bicepparam
closes: #12784
Signed-off-by: Christian Brabandt <[email protected]>
Co-authored-by: Scott McKendry <[email protected]>
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 84c1fd1f2..16d4a131f 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 5225db24e..778736b36 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -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'],
diff --git a/src/version.c b/src/version.c
index e6f41a4a2..598e3eecd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1768,
/**/
1767,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1qXmFZ-00Amsh-KP%40256bit.org.