Patch 9.0.0798

5 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 19, 2022, 10:40:36 AM10/19/22
to vim...@googlegroups.com

Patch 9.0.0798
Problem: Clang format configuration files are not recognized.
Solution: Use yaml for Clang format configuration files. (Marwin Glaser,
closes #11398)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.0797/runtime/filetype.vim 2022-10-17 15:28:44.019713168 +0100
--- runtime/filetype.vim 2022-10-19 15:17:45.275867361 +0100
***************
*** 369,374 ****
--- 369,377 ----
" ChordPro
au BufNewFile,BufRead *.chopro,*.crd,*.cho,*.crdpro,*.chordpro setf chordpro

+ " Clang-format
+ au BufNewFile,BufRead .clang-format setf yaml
+
" Clang-tidy
au BufNewFile,BufRead .clang-tidy setf yaml

*** ../vim-9.0.0797/src/testdir/test_filetype.vim 2022-10-17 15:28:44.019713168 +0100
--- src/testdir/test_filetype.vim 2022-10-19 15:17:45.279867391 +0100
***************
*** 641,647 ****
\ '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'],
--- 641,647 ----
\ 'xsd': ['file.xsd'],
\ 'xslt': ['file.xsl', 'file.xslt'],
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
! \ 'yaml': ['file.yaml', 'file.yml', '.clang-format', '.clang-tidy'],
\ 'yang': ['file.yang'],
\ 'z8a': ['file.z8a'],
\ 'zig': ['file.zig'],
*** ../vim-9.0.0797/src/version.c 2022-10-19 15:12:51.102469412 +0100
--- src/version.c 2022-10-19 15:19:17.148151939 +0100
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 798,
/**/

--
Communication is one of the most compli..., eh, well, it's hard.
You know what I mean. Not?

/// 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