diff options
| -rw-r--r-- | package.json | 1 | ||||
| -rw-r--r-- | src/CodeParserController.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json index 08d6266..d313eca 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ } ], "activationEvents": [ + "onLanguage:cuda", "onLanguage:cpp", "onLanguage:c" ], diff --git a/src/CodeParserController.ts b/src/CodeParserController.ts index 8be7034..4490f69 100644 --- a/src/CodeParserController.ts +++ b/src/CodeParserController.ts @@ -114,6 +114,7 @@ export default class CodeParserController { switch (lang) { case "c": case "cpp": + case "cuda": parser = new CppParser(this.cfg); break; default: |