vim-patch:9.0.0731: clang-tidy configuration files are not recognized (#20620)

Problem:    clang-tidy configuration files are not recognized.
Solution:   Recognize clang-tidy files as yaml. (closes vim/vim#11350)
af40f9af33
This commit is contained in:
Christian Clason
2022-10-12 15:23:42 +02:00
committed by GitHub
parent eeeb6c80d8
commit 4f305fba14
3 changed files with 5 additions and 1 deletions

View File

@@ -641,7 +641,7 @@ let s:filename_checks = {
\ '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'],