Skip to content

Commit

Permalink
Preparing for release v1.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Feb 13, 2023
1 parent 586242b commit e6bd784
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## [1.2.1] -- 2023-02-13

### Added

- OCaml array delimiters in Raw Brackets defaults.

### Changed

- `goToPreviousEmptyLine` / `goToNextEmptyLine` moves to the beginning / end of document if there are no empty lines to stop at, instead of doing nothing.

### Fixed

- Mixing tabs and spaces is verified to work.

## [1.2.0] -- 2023-01-31

### Fixed
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,9 @@ Initial release of Navi Parens.
* Bug fix in multicharacter delimiters handling.
* Improved interaction of indentation scopes and brackets scopes: when a brackets scope is intersected by the endpoint of an indentation scope, use the brackets scope for the target position.

### 1.2.1

* Clears out pending issues.
* Includes OCaml array delimiters in defaults.

[changelog]: https://marketplace.visualstudio.com/items/lukstafi.navi-parens/changelog
6 changes: 3 additions & 3 deletions src/test/suite/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function getAnnotatedContent(textEditor: vscode.TextEditor, sourcePos: vscode.Po
return content;
}

const isDebugSession = true;
const isDebugSession = false;

function testCase(content: string, command: string, mode: string, language: string, debugThis?: boolean | undefined) {
if ((isDebugSession && !debugThis) || (!isDebugSession && debugThis)) { return; }
Expand Down Expand Up @@ -1304,14 +1304,14 @@ word2
`^paragraph
paragraph@
`,
'goToPreviousEmptyLine', mode, 'text', true
'goToPreviousEmptyLine', mode, 'text'
));
test('Tricky paragraph navigation: end of document', testCase(
`
@paragraph
paragraph
paragraph^`,
'goToNextEmptyLine', mode, 'text', true
'goToNextEmptyLine', mode, 'text'
));
}
});

0 comments on commit e6bd784

Please sign in to comment.