summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorEthan Budd2023-02-05 22:02:36 +0000
committerGitHub2023-02-05 22:02:36 +0000
commit9c98043c1cd6a8b92f35214007a90bb0f287beda (patch)
tree075d1e62427f121e910144c9cf249ed5f1285368 /languages.toml
parent0eba0db4a012e9961cf0c5dddf0a4b73f95431b2 (diff)
Recognize .C and .H file types as cpp (#5808)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index c82bc155..5cde4167 100644
--- a/languages.toml
+++ b/languages.toml
@@ -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" }