Treat .clangd and .clang-format as YAML (#12032)

This commit is contained in:
blt-r 2024-11-21 02:19:06 +04:00 committed by GitHub
parent eeb5b7bbdd
commit 8ed8d52e9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1323,7 +1323,7 @@ source = { git = "https://github.com/ikatyang/tree-sitter-vue", rev = "91fe27547
[[language]] [[language]]
name = "yaml" name = "yaml"
scope = "source.yaml" scope = "source.yaml"
file-types = ["yml", "yaml", { glob = ".prettierrc" }] file-types = ["yml", "yaml", { glob = ".prettierrc" }, { glob = ".clangd" }, { glob = ".clang-format" }]
comment-token = "#" comment-token = "#"
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
language-servers = [ "yaml-language-server", "ansible-language-server" ] language-servers = [ "yaml-language-server", "ansible-language-server" ]