diff --git a/README.md b/README.md index 3be74136d..9e5433c17 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ This repo happens to also contain a language-server usable by other editors. If #### Change the Grammar -- Modify `rescript.tmLanguage.json`. +- Modify `grammars/rescript.tmLanguage.json`. 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. diff --git a/rescript.tmLanguage.json b/grammars/rescript.tmLanguage.json similarity index 100% rename from rescript.tmLanguage.json rename to grammars/rescript.tmLanguage.json diff --git a/package.json b/package.json index bdd10f0b1..f4ff78675 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ { "language": "rescript", "scopeName": "source.rescript", - "path": "./rescript.tmLanguage.json" + "path": "./grammars/rescript.tmLanguage.json" } ], "languages": [