Skip to content

Commit 8ff4871

Browse files
committed
Readme update
1 parent af04acb commit 8ff4871

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ This repo happens to also contain a language-server usable by other editors. If
6060
- Modify `rescript.tmLanguage.json`.
6161

6262
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.
63+
64+
For more grammar inspirations, check:
65+
- [TypeScript's grammar](https://github.com/microsoft/TypeScript-TmLanguage/blob/a771bc4e79deeae81a01d988a273e300290d0072/TypeScript.YAML-tmLanguage)
66+
- [Writing a TextMate Grammar: Some Lessons Learned](https://www.apeth.com/nonblog/stories/textmatebundle.html)

server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ process.on('message', (a: (m.RequestMessage | m.NotificationMessage)) => {
385385
let code = stupidFileContentCache[params.textDocument.uri];
386386
// TODO: error here?
387387
if (code === undefined) {
388-
console.log("wtf can't find file")
388+
console.log("can't find file")
389389
}
390390
let formattedResult = formatUsingValidBscPath(
391391
code,

0 commit comments

Comments
 (0)