mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-11 12:25:59 +03:00
Fix behaviour of mouseSelectionGoesIntoVisualMode
This commit is contained in:
parent
7fb538fce0
commit
8e23c88ff4
@ -756,9 +756,9 @@ export class ModeHandler implements vscode.Disposable {
|
||||
}
|
||||
|
||||
if (
|
||||
Configuration.mouseSelectionGoesIntoVisualMode &&
|
||||
!this._vimState.getModeObject(this).isVisualMode &&
|
||||
(this._vimState.getModeObject(this).name !== ModeName.Insert ||
|
||||
Configuration.mouseSelectionGoesIntoVisualMode)
|
||||
this._vimState.getModeObject(this).name !== ModeName.Insert
|
||||
) {
|
||||
this._vimState.currentMode = ModeName.Visual;
|
||||
this.setCurrentModeByName(this._vimState);
|
||||
|
Loading…
Reference in New Issue
Block a user