You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. In your `settings.json` (`> Open user settings (JSON)`), add the following, updating the file paths to point to the respective files:
88
+
89
+
```JSON
90
+
"tree-sitter-vscode.languageConfigs": [
91
+
{
92
+
"lang": "topas",
93
+
"parser": "/path/to/tree-sitter-topas.wasm",
94
+
"highlights": "/path/to/highlights.scm"
95
+
}
96
+
]
97
+
```
98
+
99
+
5. Now, a `.inp` file should register as having a language mode of 'topas' in the lower right corner of VS Code. To turn on highlighting, open settings (`Ctrl`+`,`), search for 'semantic highlighting'
100
+
and make sure `Editor > Semantic Higlighting` is enabled.
0 commit comments