mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Recognize .C and .H file types as cpp (#5808)
This commit is contained in:
parent
0eba0db4a0
commit
9c98043c1c
@ -190,7 +190,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-c", rev = "7175a6dd
|
|||||||
name = "cpp"
|
name = "cpp"
|
||||||
scope = "source.cpp"
|
scope = "source.cpp"
|
||||||
injection-regex = "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 = []
|
roots = []
|
||||||
comment-token = "//"
|
comment-token = "//"
|
||||||
language-server = { command = "clangd" }
|
language-server = { command = "clangd" }
|
||||||
|
Loading…
Reference in New Issue
Block a user