Problem: clang-tidy configuration files are not recognized.
Solution: Recognize clang-tidy files as yaml. (closes #11350)
" 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
\ 'xsd': ['file.xsd'],
\ 'xslt': ['file.xsl', 'file.xslt'],
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
- \ 'yaml': ['file.yaml', 'file.yml'],
+ \ 'yaml': ['file.yaml', 'file.yml', '.clang-tidy'],
\ 'yang': ['file.yang'],
\ 'z8a': ['file.z8a'],
\ 'zig': ['file.zig'],
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 731,
/**/
730,
/**/