From 3be8f04e9e5978a47b01c0c4937080bbd316f63e Mon Sep 17 00:00:00 2001 From: Jason Fields Date: Wed, 26 Feb 2020 16:02:44 -0500 Subject: [PATCH 1/4] Fix `)` at end of document This should be a no-op, just a special case that wasn't considered Fixes #4591 --- src/common/motion/position.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/motion/position.ts b/src/common/motion/position.ts index e8910156ea45..33623a977620 100644 --- a/src/common/motion/position.ts +++ b/src/common/motion/position.ts @@ -1238,7 +1238,7 @@ export class Position extends vscode.Position { private getFirstNonWhitespaceInParagraph(paragraphEnd: Position, inclusive: boolean): Position { // If the cursor is at an empty line, it's the end of a paragraph and the begin of another paragraph - // Find the first non-whitepsace character. + // Find the first non-whitespace character. if (TextEditor.getLineAt(new vscode.Position(this.line, 0)).text) { return paragraphEnd; } else { @@ -1260,7 +1260,8 @@ export class Position extends vscode.Position { } } - throw new Error('This should never happen...'); + // Only happens at end of document + return this; } private findHelper( From e3331f5ca4162e4f08e2f9c0c9adfe07c23791d3 Mon Sep 17 00:00:00 2001 From: Jason Fields Date: Wed, 26 Feb 2020 18:50:00 -0500 Subject: [PATCH 2/4] After canceling a search, restore the viewport to where it was before the search began Fixes #4577 --- src/actions/commands/actions.ts | 2 +- src/actions/commands/commandLine.ts | 17 +++++++++++++++++ src/mode/modeHandler.ts | 6 +++++- src/state/vimState.ts | 12 ++++++++++++ 4 files changed, 35 insertions(+), 2 deletions(-) diff --git a/src/actions/commands/actions.ts b/src/actions/commands/actions.ts index 3d050ea4a638..ed0b7d25d771 100644 --- a/src/actions/commands/actions.ts +++ b/src/actions/commands/actions.ts @@ -599,7 +599,7 @@ abstract class CommandEditorScroll extends BaseCommand { by: this.by, value: timesToRepeat, revealCursor: true, - select: [Mode.Visual, Mode.VisualBlock, Mode.VisualLine].includes(vimState.currentMode), + select: isVisualMode(vimState.currentMode), }, }); return vimState; diff --git a/src/actions/commands/commandLine.ts b/src/actions/commands/commandLine.ts index c9914046f2f4..f1de90a4f659 100644 --- a/src/actions/commands/commandLine.ts +++ b/src/actions/commands/commandLine.ts @@ -410,6 +410,23 @@ class CommandEscInSearchMode extends BaseCommand { ? prevSearchList[prevSearchList.length - 1] : undefined; + if (vimState.firstVisibleLineBeforeSearch !== undefined) { + const offset = + vimState.editor.visibleRanges[0].start.line - vimState.firstVisibleLineBeforeSearch; + if (offset !== 0) { + vimState.postponedCodeViewChanges.push({ + command: 'editorScroll', + args: { + to: offset > 0 ? 'up' : 'down', + by: 'line', + value: Math.abs(offset), + revealCursor: false, + select: false, + }, + }); + } + } + await vimState.setCurrentMode(searchState.previousMode); vimState.statusBarCursorCharacterPos = 0; diff --git a/src/mode/modeHandler.ts b/src/mode/modeHandler.ts index 2044fbc77e61..d6d7e5e03811 100644 --- a/src/mode/modeHandler.ts +++ b/src/mode/modeHandler.ts @@ -1324,7 +1324,11 @@ export class ModeHandler implements vscode.Disposable { } // Scroll to position of cursor - if (vimState.editor.visibleRanges.length > 0) { + if ( + vimState.editor.visibleRanges.length > 0 && + vimState.postponedCodeViewChanges.filter(change => change.command === 'editorScroll') + .length === 0 + ) { const visibleRange = vimState.editor.visibleRanges[0]; const centerViewportAroundCursor = visibleRange.start.line - vimState.cursorStopPosition.line >= 15 || diff --git a/src/state/vimState.ts b/src/state/vimState.ts index 76f8d920ddbe..8fc50e114f60 100644 --- a/src/state/vimState.ts +++ b/src/state/vimState.ts @@ -13,6 +13,7 @@ import { Range } from './../common/motion/range'; import { RecordedState } from './recordedState'; import { RegisterMode } from './../register/register'; import { ReplaceState } from './../state/replaceState'; +import { TextEditor } from '../textEditor'; /** * The VimState class holds permanent state that carries over from action @@ -89,6 +90,11 @@ export class VimState implements vscode.Disposable { */ public visualLineStartColumn: number | undefined = undefined; + /** + * The first line number that was visible when SearchInProgressMode began (undefined if not searching) + */ + public firstVisibleLineBeforeSearch: number | undefined = undefined; + public focusChanged = false; public surround: @@ -224,6 +230,12 @@ export class VimState implements vscode.Disposable { if (mode !== Mode.VisualLine) { this.visualLineStartColumn = undefined; } + + if (mode === Mode.SearchInProgressMode) { + this.firstVisibleLineBeforeSearch = this.editor.visibleRanges[0].start.line; + } else { + this.firstVisibleLineBeforeSearch = undefined; + } } public currentRegisterMode = RegisterMode.AscertainFromCurrentMode; From 01d6ea253fa9b0023c7234ed497e4a1a9e8fddaa Mon Sep 17 00:00:00 2001 From: Jason Fields Date: Wed, 26 Feb 2020 19:15:50 -0500 Subject: [PATCH 3/4] bump version --- CHANGELOG.md | 137 +++++++++++++++++++++++++++++++++++++++++++--- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 130 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fbcfe38b8b1..0ae55df8859c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,130 @@ # Change Log +## [v1.13.0](https://github.com/vscodevim/vim/tree/v1.13.0) (2020-02-27) + +[Full Changelog](https://github.com/vscodevim/vim/compare/v1.12.4...v1.13.0) + +**Enhancements:** + +- Throw VimError when a search has no matches [\#4578](https://github.com/VSCodeVim/Vim/issues/4578) +- Consider ignoring vimrc lines with \ [\#4446](https://github.com/VSCodeVim/Vim/issues/4446) +- Implement ={motion} operator [\#4328](https://github.com/VSCodeVim/Vim/issues/4328) +- When `nowrapscan`, hitting top or bottom should show an error message [\#4306](https://github.com/VSCodeVim/Vim/issues/4306) +- Adopt TypeScript 3.7 [\#4254](https://github.com/VSCodeVim/Vim/issues/4254) +- Detailed hover keybinding [\#4253](https://github.com/VSCodeVim/Vim/issues/4253) +- Implement \ as vim insert command \( like \ \) [\#4219](https://github.com/VSCodeVim/Vim/issues/4219) +- saving registers per workspace. [\#4193](https://github.com/VSCodeVim/Vim/issues/4193) + +**Fixed Bugs:** + +- Cursor should stay where it is after two `V` [\#4593](https://github.com/VSCodeVim/Vim/issues/4593) +- Error after using '\)' navigation at the end of the file. [\#4591](https://github.com/VSCodeVim/Vim/issues/4591) +- \ in insert mode does not overwrite selected text [\#4589](https://github.com/VSCodeVim/Vim/issues/4589) +- Viewport position is not restored after a search is canceled [\#4577](https://github.com/VSCodeVim/Vim/issues/4577) +- Multicursor issues on split window [\#4553](https://github.com/VSCodeVim/Vim/issues/4553) +- Invalid neovimPath [\#4529](https://github.com/VSCodeVim/Vim/issues/4529) +- `d2}` deletes only one paragraph. [\#4488](https://github.com/VSCodeVim/Vim/issues/4488) +- Ctrl-T doesn't get back to the original location [\#4482](https://github.com/VSCodeVim/Vim/issues/4482) +- Visual selection and Shift+X does not delete the selection. [\#4474](https://github.com/VSCodeVim/Vim/issues/4474) +- Activating extension 'vscodevim.vim' failed: fs.existsSync is not a function. [\#4466](https://github.com/VSCodeVim/Vim/issues/4466) +- Bad behavior when using C-o in insert mode [\#4453](https://github.com/VSCodeVim/Vim/issues/4453) +- Deleting a single quote with \ in insert mode fails [\#4450](https://github.com/VSCodeVim/Vim/issues/4450) +- \ and \ place the cursor on the wrong column [\#4438](https://github.com/VSCodeVim/Vim/issues/4438) +- The plugin VIM inputs ClosePair\('\)'\) if I type \) by myself [\#4411](https://github.com/VSCodeVim/Vim/issues/4411) +- keymap not works anymore in version 1.12.2 [\#4396](https://github.com/VSCodeVim/Vim/issues/4396) +- Inserting a Hash/Number/Pound sign writes out "X\x08\#" instead [\#4387](https://github.com/VSCodeVim/Vim/issues/4387) +- .vimrc keybindings not loaded though settings are in place [\#4384](https://github.com/VSCodeVim/Vim/issues/4384) +- Yank doesn't work on 1.12.x on Ubuntu [\#4377](https://github.com/VSCodeVim/Vim/issues/4377) +- C+o not work [\#4376](https://github.com/VSCodeVim/Vim/issues/4376) +- Unexpected behaviour when press '\)' [\#4366](https://github.com/VSCodeVim/Vim/issues/4366) +- Normal mode 's' key is broken in 1.12 [\#4359](https://github.com/VSCodeVim/Vim/issues/4359) +- vim.cursorStylePerMode is being ignored [\#4355](https://github.com/VSCodeVim/Vim/issues/4355) +- zz doesn't maintain horizontal cursor position [\#4296](https://github.com/VSCodeVim/Vim/issues/4296) +- Add Cursor to Line Ends Errors From Visual Line Mode [\#4270](https://github.com/VSCodeVim/Vim/issues/4270) +- Selecting a register using \["\] in visual block mode not working [\#4192](https://github.com/VSCodeVim/Vim/issues/4192) +- Cannot map \ to \ in insert mode [\#4082](https://github.com/VSCodeVim/Vim/issues/4082) +- Cursor style does not change properly when cursor mode has been changed [\#4061](https://github.com/VSCodeVim/Vim/issues/4061) +- In visual block mode register selection \("\) doesn't work [\#4038](https://github.com/VSCodeVim/Vim/issues/4038) +- Exit from Visual-Line mode moves cursor [\#3975](https://github.com/VSCodeVim/Vim/issues/3975) + +**Closed issues:** + +- Howto: call snippets with vscodevim keybindings? [\#4565](https://github.com/VSCodeVim/Vim/issues/4565) +- Plugin does not work on VSCode 1.42.0 [\#4555](https://github.com/VSCodeVim/Vim/issues/4555) +- Extension issue [\#4554](https://github.com/VSCodeVim/Vim/issues/4554) +- CamelCaseMotion is not compatible with dot command [\#4552](https://github.com/VSCodeVim/Vim/issues/4552) +- FEATURE REQUEST:Second navigation: A setting option for remapping 'hjkl'\(←↓↑→\) to 'jkil'\(←↓↑→\) [\#4551](https://github.com/VSCodeVim/Vim/issues/4551) +- Files shouldn't be treated as modified when all changes are undone. [\#4550](https://github.com/VSCodeVim/Vim/issues/4550) +- vim esc [\#4547](https://github.com/VSCodeVim/Vim/issues/4547) +- nnoremap [\#4542](https://github.com/VSCodeVim/Vim/issues/4542) +- Insert mode cursor uses editor.cursorStyle instead of vim.cursorStylePerMode.insert [\#4521](https://github.com/VSCodeVim/Vim/issues/4521) +- try to configure keybinding -\> told key combination doesn't exist [\#4520](https://github.com/VSCodeVim/Vim/issues/4520) +- ci{ deletes all indentation [\#4514](https://github.com/VSCodeVim/Vim/issues/4514) +- Allow delay when remapping esc [\#4496](https://github.com/VSCodeVim/Vim/issues/4496) +- Multi cursor triggered unexpectedly when using vim to edit html files [\#4494](https://github.com/VSCodeVim/Vim/issues/4494) +- Default vscode extensions are not working at all. [\#4490](https://github.com/VSCodeVim/Vim/issues/4490) +- \/\ jump back to wrong location after 'gd' [\#4479](https://github.com/VSCodeVim/Vim/issues/4479) +- "Shift” Key does't work in insert or normal mode. [\#4475](https://github.com/VSCodeVim/Vim/issues/4475) +- Vim mode is installed, but doesn't seem to do anything [\#4473](https://github.com/VSCodeVim/Vim/issues/4473) +- Consider using os.homedir\(\) instead of process.env.HOME [\#4472](https://github.com/VSCodeVim/Vim/issues/4472) +- `go to defined` works fine but error when jumping back(ctrl + o) [\#4470](https://github.com/VSCodeVim/Vim/issues/4470) +- Mouse scrolls editor when Cursor Surrounding Lines is set [\#4465](https://github.com/VSCodeVim/Vim/issues/4465) +- VSCodeVim disables 'Open Folder' shortcut \(Ctrl+K Ctrl+O\) [\#4431](https://github.com/VSCodeVim/Vim/issues/4431) +- Edit vimrc command is unresponsive [\#4427](https://github.com/VSCodeVim/Vim/issues/4427) +- Does not work in VSCode 1.41.1 [\#4418](https://github.com/VSCodeVim/Vim/issues/4418) +- vimrc \ does not remap [\#4412](https://github.com/VSCodeVim/Vim/issues/4412) +- `extensionKind` as a string is now deprecated [\#4379](https://github.com/VSCodeVim/Vim/issues/4379) +- Extension host terminated unexpectedly. [\#4371](https://github.com/VSCodeVim/Vim/issues/4371) +- When key 'p' typed, the cursor would blink many times and the pane would be frozen [\#4368](https://github.com/VSCodeVim/Vim/issues/4368) +- Scrolling with \ and \ is very laggy [\#4309](https://github.com/VSCodeVim/Vim/issues/4309) +- Insert mode's \ doesn't work properly [\#4186](https://github.com/VSCodeVim/Vim/issues/4186) +- Vim navigation in explorer doesn't work when VSCode starts with file explorer hidden [\#3869](https://github.com/VSCodeVim/Vim/issues/3869) +- shift-O does not preserve indent if empty line above [\#3840](https://github.com/VSCodeVim/Vim/issues/3840) + +**Merged pull requests:** + +- Code shrinking [\#4596](https://github.com/VSCodeVim/Vim/pull/4596) ([ldm0](https://github.com/ldm0)) +- Update dependency mocha to v7.1.0 [\#4595](https://github.com/VSCodeVim/Vim/pull/4595) ([renovate[bot]](https://github.com/apps/renovate)) +- Fix misplaced cursor after `VV` [\#4594](https://github.com/VSCodeVim/Vim/pull/4594) ([ldm0](https://github.com/ldm0)) +- Update dependency @types/sinon to v7.5.2 [\#4587](https://github.com/VSCodeVim/Vim/pull/4587) ([renovate[bot]](https://github.com/apps/renovate)) +- Make VisualLine and VisualBlock modes work with multiple cursors [\#4584](https://github.com/VSCodeVim/Vim/pull/4584) ([J-Fields](https://github.com/J-Fields)) +- Fix wrong return in ModeHandlerMap.get [\#4581](https://github.com/VSCodeVim/Vim/pull/4581) ([fatanugraha](https://github.com/fatanugraha)) +- Update dependency typescript to v3.8.2 [\#4571](https://github.com/VSCodeVim/Vim/pull/4571) ([renovate[bot]](https://github.com/apps/renovate)) +- syncCursors\(\) will update all internal cursors [\#4569](https://github.com/VSCodeVim/Vim/pull/4569) ([cvaldev](https://github.com/cvaldev)) +- Update dependency sinon to v9 [\#4564](https://github.com/VSCodeVim/Vim/pull/4564) ([renovate[bot]](https://github.com/apps/renovate)) +- Fix surround cursor placement bug \(\#3461\) [\#4558](https://github.com/VSCodeVim/Vim/pull/4558) ([TransientError](https://github.com/TransientError)) +- Fix selecting register using " not working in visual block mode [\#4549](https://github.com/VSCodeVim/Vim/pull/4549) ([lusingander](https://github.com/lusingander)) +- Fix '}'\(MoveParagraphEnd\) behaviour to accurately emulate Vim's [\#4527](https://github.com/VSCodeVim/Vim/pull/4527) ([cvaldev](https://github.com/cvaldev)) +- Update dependency @types/mocha to v7 [\#4525](https://github.com/VSCodeVim/Vim/pull/4525) ([renovate[bot]](https://github.com/apps/renovate)) +- Update dependency mocha to v7.0.1 [\#4516](https://github.com/VSCodeVim/Vim/pull/4516) ([renovate[bot]](https://github.com/apps/renovate)) +- Update dependency sinon to v8.1.1 [\#4510](https://github.com/VSCodeVim/Vim/pull/4510) ([renovate[bot]](https://github.com/apps/renovate)) +- Update dependency typescript to v3.7.5 [\#4504](https://github.com/VSCodeVim/Vim/pull/4504) ([renovate[bot]](https://github.com/apps/renovate)) +- Update dependency sinon to v8.1.0 [\#4500](https://github.com/VSCodeVim/Vim/pull/4500) ([renovate[bot]](https://github.com/apps/renovate)) +- Add documentation details about contributions page [\#4497](https://github.com/VSCodeVim/Vim/pull/4497) ([rusnac](https://github.com/rusnac)) +- Implement \ handler for insert mode [\#4492](https://github.com/VSCodeVim/Vim/pull/4492) ([ldm0](https://github.com/ldm0)) +- Update dependency neovim to v4.8.0 [\#4491](https://github.com/VSCodeVim/Vim/pull/4491) ([renovate[bot]](https://github.com/apps/renovate)) +- Respect default behaviour of cursorSurroundingLines [\#4481](https://github.com/VSCodeVim/Vim/pull/4481) ([cvaldev](https://github.com/cvaldev)) +- Fix `X` in visual block mode [\#4477](https://github.com/VSCodeVim/Vim/pull/4477) ([J-Fields](https://github.com/J-Fields)) +- Update dependency sinon to v8.0.4 [\#4476](https://github.com/VSCodeVim/Vim/pull/4476) ([renovate[bot]](https://github.com/apps/renovate)) +- Update dependency mocha to v7 [\#4471](https://github.com/VSCodeVim/Vim/pull/4471) ([renovate[bot]](https://github.com/apps/renovate)) +- Fix getCursorStyleForMode\(\) always returned undefined [\#4468](https://github.com/VSCodeVim/Vim/pull/4468) ([cvaldev](https://github.com/cvaldev)) +- Fix returnToInsertAfterCommand not false after switching to Insert Mode [\#4461](https://github.com/VSCodeVim/Vim/pull/4461) ([cvaldev](https://github.com/cvaldev)) +- Update statusbar with result of ex command from neovim [\#4456](https://github.com/VSCodeVim/Vim/pull/4456) ([rsslldnphy](https://github.com/rsslldnphy)) +- Ignore vimrc lines that attempt to remap \ [\#4452](https://github.com/VSCodeVim/Vim/pull/4452) ([cvaldev](https://github.com/cvaldev)) +- Improve performance on large files by not checking for changes after commands which never change the document [\#4451](https://github.com/VSCodeVim/Vim/pull/4451) ([J-Fields](https://github.com/J-Fields)) +- Fix expandHome\(\) not expanding \$HOME [\#4449](https://github.com/VSCodeVim/Vim/pull/4449) ([cvaldev](https://github.com/cvaldev)) +- A whole bunch of small refactors [\#4447](https://github.com/VSCodeVim/Vim/pull/4447) ([J-Fields](https://github.com/J-Fields)) +- Refactor `Position` and `PositionDiff` [\#4445](https://github.com/VSCodeVim/Vim/pull/4445) ([J-Fields](https://github.com/J-Fields)) +- Fix tests [\#4442](https://github.com/VSCodeVim/Vim/pull/4442) ([J-Fields](https://github.com/J-Fields)) +- Update dependency sinon to v8.0.2 [\#4437](https://github.com/VSCodeVim/Vim/pull/4437) ([renovate[bot]](https://github.com/apps/renovate)) +- Update dependency neovim to v4.7.0 [\#4436](https://github.com/VSCodeVim/Vim/pull/4436) ([renovate[bot]](https://github.com/apps/renovate)) +- Update extensionKind [\#4435](https://github.com/VSCodeVim/Vim/pull/4435) ([cvaldev](https://github.com/cvaldev)) +- Center the viewport around the cursor if the previous action moved the cursor at least 15 lines off screen [\#4434](https://github.com/VSCodeVim/Vim/pull/4434) ([J-Fields](https://github.com/J-Fields)) +- Stop using timeout in `getCursorsAfterSync\(\)` [\#4433](https://github.com/VSCodeVim/Vim/pull/4433) ([J-Fields](https://github.com/J-Fields)) +- Fix zz updating desired column [\#4424](https://github.com/VSCodeVim/Vim/pull/4424) ([schu34](https://github.com/schu34)) +- Implement \_isDocumentTextNeeded\(\) [\#4386](https://github.com/VSCodeVim/Vim/pull/4386) ([cvaldev](https://github.com/cvaldev)) +- Fix cursor off after leaving multi-cursor mode [\#4237](https://github.com/VSCodeVim/Vim/pull/4237) ([trkoch](https://github.com/trkoch)) + ## [v1.12.4](https://github.com/vscodevim/vim/tree/v1.12.4) (2019-12-27) [Full Changelog](https://github.com/vscodevim/vim/compare/v1.12.3...v1.12.4) @@ -41,7 +166,6 @@ - Normal mode key binding for '0' make 0 not usable in command count [\#4339](https://github.com/VSCodeVim/Vim/issues/4339) - CTRL-\* commands for page scrolling are not working correctly in 1.11.3 \(latest\) [\#4338](https://github.com/VSCodeVim/Vim/issues/4338) - Can't use control characters in %s replace [\#4334](https://github.com/VSCodeVim/Vim/issues/4334) -- Deleting a line intermittently screws up the cursor position. [\#3694](https://github.com/VSCodeVim/Vim/issues/3694) **Closed issues:** @@ -69,8 +193,6 @@ - Insert mode not working [\#4332](https://github.com/VSCodeVim/Vim/issues/4332) - :w does not trigger "format on save" in ruby [\#4329](https://github.com/VSCodeVim/Vim/issues/4329) - Not able to use "j" motion when Cursor Smooth Caret Animation set [\#4321](https://github.com/VSCodeVim/Vim/issues/4321) -- -- VIM DISABLE -- is is being overidden [\#3806](https://github.com/VSCodeVim/Vim/issues/3806) -- "ii" Insert Mode Mapping Unexpected Behavior [\#3786](https://github.com/VSCodeVim/Vim/issues/3786) **Merged pull requests:** @@ -82,13 +204,13 @@ - Update dependency @types/node to v12.12.20 [\#4398](https://github.com/VSCodeVim/Vim/pull/4398) ([renovate[bot]](https://github.com/apps/renovate)) - Update dependency @types/node to v12.12.19 [\#4397](https://github.com/VSCodeVim/Vim/pull/4397) ([renovate[bot]](https://github.com/apps/renovate)) - Update dependency @types/node to v12.12.18 [\#4391](https://github.com/VSCodeVim/Vim/pull/4391) ([renovate[bot]](https://github.com/apps/renovate)) -- Added test to check can handle 'u' after :s/abc/def [\#4385](https://github.com/VSCodeVim/Vim/pull/4385) ([CVVPK](https://github.com/CVVPK)) +- Added test to check can handle 'u' after :s/abc/def [\#4385](https://github.com/VSCodeVim/Vim/pull/4385) ([cvaldev](https://github.com/cvaldev)) - Update dependency @types/node to v12.12.17 [\#4361](https://github.com/VSCodeVim/Vim/pull/4361) ([renovate[bot]](https://github.com/apps/renovate)) - Make sure DocumentChange.timestamp is always set [\#4360](https://github.com/VSCodeVim/Vim/pull/4360) ([J-Fields](https://github.com/J-Fields)) - Update dependency @types/node to v12.12.16 [\#4349](https://github.com/VSCodeVim/Vim/pull/4349) ([renovate[bot]](https://github.com/apps/renovate)) - Update dependency @types/node to v12.12.15 [\#4347](https://github.com/VSCodeVim/Vim/pull/4347) ([renovate[bot]](https://github.com/apps/renovate)) -- Fix fs.readFileSync\(\) receiving a possibly undefined path [\#4337](https://github.com/VSCodeVim/Vim/pull/4337) ([CVVPK](https://github.com/CVVPK)) -- Fixed modeHandler being recreated on every key stroke [\#4335](https://github.com/VSCodeVim/Vim/pull/4335) ([CVVPK](https://github.com/CVVPK)) +- Fix fs.readFileSync\(\) receiving a possibly undefined path [\#4337](https://github.com/VSCodeVim/Vim/pull/4337) ([cvaldev](https://github.com/cvaldev)) +- Fixed modeHandler being recreated on every key stroke [\#4335](https://github.com/VSCodeVim/Vim/pull/4335) ([cvaldev](https://github.com/cvaldev)) - Update dependency gulp-git to v2.10.0 [\#4327](https://github.com/VSCodeVim/Vim/pull/4327) ([renovate[bot]](https://github.com/apps/renovate)) - Update dependency typescript to v3.7.3 [\#4326](https://github.com/VSCodeVim/Vim/pull/4326) ([renovate[bot]](https://github.com/apps/renovate)) - Refactor ModeHandlerMap to use EditorIdentity in its interface. Add some documentation [\#4322](https://github.com/VSCodeVim/Vim/pull/4322) ([J-Fields](https://github.com/J-Fields)) @@ -130,8 +252,6 @@ - Version 1.11.3 not work. [\#4220](https://github.com/VSCodeVim/Vim/issues/4220) - Changing prefix in easy-motion [\#4218](https://github.com/VSCodeVim/Vim/issues/4218) - Use `ExtensionContext.globalStoragePath` instead of `appdirectory` library [\#4055](https://github.com/VSCodeVim/Vim/issues/4055) -- Make saving errors more obvious [\#3793](https://github.com/VSCodeVim/Vim/issues/3793) -- Remapped Escape key \(in Gnome desktop\) not working in VS Code, vim mode [\#3674](https://github.com/VSCodeVim/Vim/issues/3674) **Merged pull requests:** @@ -236,7 +356,6 @@ - `:vspl` [\#4078](https://github.com/VSCodeVim/Vim/issues/4078) - Add support for relative :tabm\[ove\] [\#3959](https://github.com/VSCodeVim/Vim/issues/3959) -- make ctrl+q into visual block on Windows [\#3743](https://github.com/VSCodeVim/Vim/issues/3743) **Fixed Bugs:** diff --git a/package-lock.json b/package-lock.json index bf8e66abe86a..2cfcf3fd7f5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vim", - "version": "1.12.4", + "version": "1.13.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index db9f48bb136a..58de9a4a162c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Vim", "description": "Vim emulation for Visual Studio Code", "icon": "images/icon.png", - "version": "1.12.4", + "version": "1.13.0", "publisher": "vscodevim", "galleryBanner": { "color": "#e3f4ff", From 1389d4d81c7ee4da53ab0aaa45592f60c2a4ee03 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 29 Feb 2020 01:30:06 +0000 Subject: [PATCH 4/4] Update dependency typescript to v3.8.3 (#4609) Co-authored-by: WhiteSource Renovate --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2cfcf3fd7f5b..b7917e82fea0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5901,9 +5901,9 @@ "dev": true }, "typescript": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.2.tgz", - "integrity": "sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ==", + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz", + "integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==", "dev": true }, "unc-path-regex": { diff --git a/package.json b/package.json index 58de9a4a162c..307abb828a8f 100644 --- a/package.json +++ b/package.json @@ -974,7 +974,7 @@ "sinon": "9.0.0", "ts-loader": "6.2.1", "tslint": "5.20.1", - "typescript": "3.8.2", + "typescript": "3.8.3", "vscode": "1.1.36" } }