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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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/20221019144022.A35601C05BB%40moolenaar.net.