Skip to content

Commit 9c98043

Browse files
authored
Recognize .C and .H file types as cpp (#5808)
1 parent 0eba0db commit 9c98043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

languages.toml

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

0 commit comments

Comments
 (0)