Patch 8.2.4411

6 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 17, 2022, 4:31:00 PM2/17/22
to vim...@googlegroups.com

Patch 8.2.4411
Problem: Bicep files are not recognized.
Solution: Match *.bicep files. (Dundar Goc, closes #9791)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4410/runtime/filetype.vim 2022-02-12 10:33:49.196751171 +0000
--- runtime/filetype.vim 2022-02-17 21:18:05.791950465 +0000
***************
*** 44,50 ****
" file name matches ft_ignore_pat.
" When using this, the entry should probably be further down below with the
" other StarSetf() calls.
! func! s:StarSetf(ft)
if expand("<amatch>") !~ g:ft_ignore_pat
exe 'setf ' . a:ft
endif
--- 44,50 ----
" file name matches ft_ignore_pat.
" When using this, the entry should probably be further down below with the
" other StarSetf() calls.
! func s:StarSetf(ft)
if expand("<amatch>") !~ g:ft_ignore_pat
exe 'setf ' . a:ft
endif
***************
*** 229,234 ****
--- 229,237 ----
" BibTeX Bibliography Style
au BufNewFile,BufRead *.bst setf bst

+ " Bicep
+ au BufNewFile,BufRead *.bicep setf bicep
+
" BIND configuration
" sudoedit uses namedXXXX.conf
au BufNewFile,BufRead named*.conf,rndc*.conf,rndc*.key setf named
***************
*** 2516,2522 ****
" Function called for testing all functions defined here. These are
" script-local, thus need to be executed here.
" Returns a string with error messages (hopefully empty).
! func! TestFiletypeFuncs(testlist)
let output = ''
for f in a:testlist
try
--- 2519,2525 ----
" Function called for testing all functions defined here. These are
" script-local, thus need to be executed here.
" Returns a string with error messages (hopefully empty).
! func TestFiletypeFuncs(testlist)
let output = ''
for f in a:testlist
try
*** ../vim-8.2.4410/src/testdir/test_filetype.vim 2022-02-12 10:33:49.196751171 +0000
--- src/testdir/test_filetype.vim 2022-02-17 21:18:05.791950465 +0000
***************
*** 82,87 ****
--- 82,88 ----
\ 'bdf': ['file.bdf'],
\ 'beancount': ['file.beancount'],
\ 'bib': ['file.bib'],
+ \ 'bicep': ['file.bicep'],
\ 'bindzone': ['named.root', '/bind/db.file', '/named/db.file', 'any/bind/db.file', 'any/named/db.file'],
\ 'blank': ['file.bl'],
\ 'bsdl': ['file.bsd', 'file.bsdl', 'bsd', 'some-bsd'],
*** ../vim-8.2.4410/src/version.c 2022-02-17 19:44:04.275319369 +0000
--- src/version.c 2022-02-17 21:20:01.679790566 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4411,
/**/

--
hundred-and-one symptoms of being an internet addict:
61. Your best friends know your e-mail address, but neither your phone number
nor the address where you live.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages