Skip to content

Commit 85a424f

Browse files
committed
Add instructions to change grammar
1 parent e99a803 commit 85a424f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ For now, you have to clone the repo and run `npm run compile`. The language serv
5353
- If you want to debug the server as well use the launch configuration `Attach to Server`
5454
- In the [Extension Development Host] instance of VSCode, open a document in 'plain text' language mode.
5555
- Try `ReScript` mode formatting with `.res` or `.resi` files.
56+
57+
#### Change the Grammar
58+
59+
- Modify `rescript.tmLanguage.json`.
60+
61+
Currently the best way to test it is to link your extension to `~/.vscode/extensions` then reload a separate test VSCode `.res` tab after each grammar change.

0 commit comments

Comments
 (0)