From 9c98043c1cd6a8b92f35214007a90bb0f287beda Mon Sep 17 00:00:00 2001 From: Ethan Budd Date: Sun, 5 Feb 2023 16:02:36 -0600 Subject: [PATCH] Recognize .C and .H file types as cpp (#5808) --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index c82bc155e..5cde4167d 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" }