1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

Recognize .C and .H file types as cpp (#5808)

This commit is contained in:
Ethan Budd 2023-02-05 16:02:36 -06:00 committed by GitHub
parent 0eba0db4a0
commit 9c98043c1c
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -190,7 +190,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-c", rev = "7175a6dd
name = "cpp"
scope = "source.cpp"
injection-regex = "cpp"
file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino"]
file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino", "C", "H"]
roots = []
comment-token = "//"
language-server = { command = "clangd" }