Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#### :bug: Bug fix

- Fix: incorrect highlighting of `as` inside labelled arguments like `toast` https://github.com/rescript-lang/rescript-vscode/pull/1085

- Fix: bug where incremental analysis does not work when the project folder contains a dot. https://github.com/rescript-lang/rescript-vscode/pull/1080

- Fix: bug where incremental compilation crashes when rewatch is being run in a specific package vs the root of the monorepo. https://github.com/rescript-lang/rescript-vscode/pull/1082
Expand Down
4 changes: 2 additions & 2 deletions grammars/rescript.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"RE_TO_DOWNTO_AS_LABELS": {
"patterns": [
{
"match": "(to|downto)\\s*(=)",
"match": "~(to|downto)\\s*(=)",
"captures": {
"1": {
"name": "variable"
Expand All @@ -21,7 +21,7 @@
}
},
{
"match": "(to|downto)\\s*(as)",
"match": "~(to|downto)\\s+(as)",
"captures": {
"1": {
"name": "variable"
Expand Down