mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
vim-patch:9.0.0798: clang format configuration files are not recognized (#20741)
Problem: Clang format configuration files are not recognized.
Solution: Use yaml for Clang format configuration files. (Marwin Glaser,
closes vim/vim#11398)
3c708c4390
This commit is contained in:
parent
96cf385a7f
commit
fad558b6af
@ -1676,6 +1676,7 @@ local filename = {
|
||||
fglrxrc = 'xml',
|
||||
['/etc/blkid.tab'] = 'xml',
|
||||
['/etc/blkid.tab.old'] = 'xml',
|
||||
['.clang-format'] = 'yaml',
|
||||
['.clang-tidy'] = 'yaml',
|
||||
['/etc/zprofile'] = 'zsh',
|
||||
['.zlogin'] = 'zsh',
|
||||
|
@ -642,7 +642,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', '.clang-tidy'],
|
||||
\ 'yaml': ['file.yaml', 'file.yml', '.clang-format', '.clang-tidy'],
|
||||
\ 'yang': ['file.yang'],
|
||||
\ 'z8a': ['file.z8a'],
|
||||
\ 'zig': ['file.zig'],
|
||||
|
Loading…
Reference in New Issue
Block a user