diff runtime/filetype.vim @ 30793:79a6c53a7539 v9.0.0731

patch 9.0.0731: clang-tidy configuration files are not recognized Commit: https://github.com/vim/vim/commit/af40f9af335e0c8b167eac31ceace45b6a2e0565 Author: dundargoc <gocdundar@gmail.com> Date: Wed Oct 12 12:09:40 2022 +0100 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 https://github.com/vim/vim/issues/11350)
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Oct 2022 13:15:02 +0200
parents b6b326671396
children 93d8f81b8610
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -369,6 +369,9 @@ au BufNewFile,BufRead *.ch			call dist#f
 " 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