Skip to content

Commit

Permalink
Make dimming of ignores skip meta and ignores
Browse files Browse the repository at this point in the history
Fixes #908
  • Loading branch information
PEZ committed Jan 3, 2021
1 parent d74902d commit c390b3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Changes to Calva.

## [Unreleased]
- Fix: [Dimming ignored forms does not work correctly with metadata](https://github.com/BetterThanTomorrow/calva/issues/908)

## [2.0.145 - 2021-01-03]
- [Add command for opening the file for the output/repl window namespace](https://github.com/BetterThanTomorrow/calva/issues/920)
Expand Down
2 changes: 1 addition & 1 deletion src/highlight/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function updateRainbowBrackets() {
ignoreCursor.forwardWhitespace();
}
for (i = 0; i < ignore_counter; i++) {
ignoreCursor.forwardSexp();
ignoreCursor.forwardSexp(true, true, true);
}
const ignore_end = activeEditor.document.positionAt(ignoreCursor.offsetStart);
ignores.push(new Range(ignore_start, ignore_end));
Expand Down

0 comments on commit c390b3d

Please sign in to comment.