mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-11-13 10:17:02 +03:00
Fixed neovim toast notification setting
This commit is contained in:
parent
d90336a19f
commit
1a92c3f293
@ -83,13 +83,12 @@ export async function getAndUpdateModeHandler(): Promise<ModeHandler> {
|
||||
|
||||
let curHandler = modeHandlerToEditorIdentity[activeEditorId.toString()];
|
||||
if (!curHandler) {
|
||||
if (!Configuration.disableAnnoyingNeovimComment) {
|
||||
|
||||
if (!Configuration.disableAnnoyingNeovimMessage) {
|
||||
vscode.window.showInformationMessage("We have now added neovim integration for Ex-commands.\
|
||||
Enable it with vim.enableNeovim in settings", "Never show again").then((result) => {
|
||||
if (result === "Never show again") {
|
||||
vscode.workspace.getConfiguration("vim").update("disableAnnoyingNeovimMessage", true, true);
|
||||
Configuration.disableAnnoyingNeovimComment = true;
|
||||
Configuration.disableAnnoyingNeovimMessage = true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -303,7 +303,7 @@ class ConfigurationClass {
|
||||
|
||||
neovimPath = "nvim";
|
||||
|
||||
disableAnnoyingNeovimComment = false;
|
||||
disableAnnoyingNeovimMessage = false;
|
||||
}
|
||||
|
||||
function overlapSetting(args: { codeName: string, default: OptionValue, codeValueMapping?: ValueMapping }) {
|
||||
|
Loading…
Reference in New Issue
Block a user