summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package.json1
-rw-r--r--src/CodeParserController.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index 826e4e6..2a180dd 100644
--- a/package.json
+++ b/package.json
@@ -29,6 +29,7 @@
],
"activationEvents": [
"onLanguage:cuda",
+ "onLanguage:cuda-cpp",
"onLanguage:cpp",
"onLanguage:c"
],
diff --git a/src/CodeParserController.ts b/src/CodeParserController.ts
index 3b6348a..7a7c641 100644
--- a/src/CodeParserController.ts
+++ b/src/CodeParserController.ts
@@ -105,6 +105,7 @@ export default class CodeParserController {
case "c":
case "cpp":
case "cuda":
+ case "cuda-cpp":
parser = new CppParser(this.cfg);
break;
default: