diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-10-12 15:23:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-12 15:23:42 +0200 |
commit | 4f305fba14ec8c1919ed793b6e09e15ca54a8c1d (patch) | |
tree | ddc3985acb61633d29b0155cb8e05b98db549733 /runtime/filetype.vim | |
parent | eeeb6c80d8f32efee8d13ec4a56a7d487a28eba0 (diff) | |
download | rneovim-4f305fba14ec8c1919ed793b6e09e15ca54a8c1d.tar.gz rneovim-4f305fba14ec8c1919ed793b6e09e15ca54a8c1d.tar.bz2 rneovim-4f305fba14ec8c1919ed793b6e09e15ca54a8c1d.zip |
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)
https://github.com/vim/vim/commit/af40f9af335e0c8b167eac31ceace45b6a2e0565
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index b6673c1762..8abec398db 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -370,6 +370,9 @@ au BufNewFile,BufRead *.ch call dist#ft#FTchange() " 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 |