Patch 9.0.0731
Problem: clang-tidy configuration files are not recognized.
Solution: Recognize clang-tidy files as yaml. (closes #11350)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.0730/runtime/filetype.vim 2022-10-10 12:08:55.850043934 +0100
--- runtime/filetype.vim 2022-10-12 12:09:02.140829144 +0100
***************
*** 369,374 ****
--- 369,377 ----
" ChordPro
au BufNewFile,BufRead *.chopro,*.crd,*.cho,*.crdpro,*.chordpro setf chordpro
+ " Clang-tidy
+ au BufNewFile,BufRead .clang-tidy setf yaml
+
" Clean
au BufNewFile,BufRead *.dcl,*.icl setf clean
*** ../vim-9.0.0730/src/testdir/test_filetype.vim 2022-10-10 12:08:55.850043934 +0100
--- src/testdir/test_filetype.vim 2022-10-12 12:06:51.688664469 +0100
***************
*** 640,646 ****
\ 'xsd': ['file.xsd'],
\ 'xslt': ['file.xsl', 'file.xslt'],
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
! \ 'yaml': ['file.yaml', 'file.yml'],
\ 'yang': ['file.yang'],
\ 'z8a': ['file.z8a'],
\ 'zig': ['file.zig'],
--- 640,646 ----
\ 'xsd': ['file.xsd'],
\ 'xslt': ['file.xsl', 'file.xslt'],
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
! \ 'yaml': ['file.yaml', 'file.yml', '.clang-tidy'],
\ 'yang': ['file.yang'],
\ 'z8a': ['file.z8a'],
\ 'zig': ['file.zig'],
*** ../vim-9.0.0730/src/version.c 2022-10-12 11:54:31.379668231 +0100
--- src/version.c 2022-10-12 12:08:36.360800065 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 731,
/**/
--
ARTHUR: I command you as King of the Britons to stand aside!
BLACK KNIGHT: I move for no man.
The Quest for the Holy Grail (Monty Python)
/// 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 ///