aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Wolfard2023-04-04 19:25:06 +0000
committerGitHub2023-04-04 19:25:06 +0000
commit577aded04a01801cbd61c7953a24b24d499a7e83 (patch)
tree50a42543ba70f9daabb71b29ce493617d457edb8
parent2f4b9a47f36c04eae7c2a67445150337065aaeff (diff)
Recognize CUDA files as C++ (#6521)
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 38de820b..0d5b3222 100644
--- a/languages.toml
+++ b/languages.toml
@@ -212,7 +212,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", "C", "H"]
+file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino", "C", "H", "cu", "cuh"]
roots = []
comment-token = "//"
language-server = { command = "clangd" }