mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.0731: clang-tidy configuration files are not recognized
Problem: clang-tidy configuration files are not recognized. Solution: Recognize clang-tidy files as yaml. (closes #11350)
This commit is contained in:
committed by
Bram Moolenaar
parent
9ce7915d06
commit
af40f9af33
@@ -369,6 +369,9 @@ au BufNewFile,BufRead *.ch call dist#ft#FTchange()
|
|||||||
" ChordPro
|
" ChordPro
|
||||||
au BufNewFile,BufRead *.chopro,*.crd,*.cho,*.crdpro,*.chordpro setf chordpro
|
au BufNewFile,BufRead *.chopro,*.crd,*.cho,*.crdpro,*.chordpro setf chordpro
|
||||||
|
|
||||||
|
" Clang-tidy
|
||||||
|
au BufNewFile,BufRead .clang-tidy setf yaml
|
||||||
|
|
||||||
" Clean
|
" Clean
|
||||||
au BufNewFile,BufRead *.dcl,*.icl setf clean
|
au BufNewFile,BufRead *.dcl,*.icl setf clean
|
||||||
|
|
||||||
|
@@ -640,7 +640,7 @@ let s:filename_checks = {
|
|||||||
\ 'xsd': ['file.xsd'],
|
\ 'xsd': ['file.xsd'],
|
||||||
\ 'xslt': ['file.xsl', 'file.xslt'],
|
\ 'xslt': ['file.xsl', 'file.xslt'],
|
||||||
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
|
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
|
||||||
\ 'yaml': ['file.yaml', 'file.yml'],
|
\ 'yaml': ['file.yaml', 'file.yml', '.clang-tidy'],
|
||||||
\ 'yang': ['file.yang'],
|
\ 'yang': ['file.yang'],
|
||||||
\ 'z8a': ['file.z8a'],
|
\ 'z8a': ['file.z8a'],
|
||||||
\ 'zig': ['file.zig'],
|
\ 'zig': ['file.zig'],
|
||||||
|
@@ -699,6 +699,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
731,
|
||||||
/**/
|
/**/
|
||||||
730,
|
730,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user