mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-11-13 10:17:02 +03:00
refactor(neovim-msg): remove neovim message
This commit is contained in:
parent
733bdd1604
commit
4178379f3a
16
extension.ts
16
extension.ts
@ -52,22 +52,6 @@ export async function getAndUpdateModeHandler(): Promise<ModeHandler> {
|
||||
|
||||
let curHandler = modeHandlerToEditorIdentity[activeEditorId.toString()];
|
||||
if (!curHandler) {
|
||||
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 !== 'Close') {
|
||||
vscode.workspace
|
||||
.getConfiguration('vim')
|
||||
.update('disableAnnoyingNeovimMessage', true, true);
|
||||
Configuration.disableAnnoyingNeovimMessage = true;
|
||||
}
|
||||
});
|
||||
}
|
||||
const newModeHandler = await new ModeHandler();
|
||||
if (Configuration.enableNeovim) {
|
||||
await Neovim.initNvim(newModeHandler.vimState);
|
||||
|
@ -312,8 +312,6 @@ class ConfigurationClass {
|
||||
|
||||
neovimPath = 'nvim';
|
||||
|
||||
disableAnnoyingNeovimMessage = false;
|
||||
|
||||
/**
|
||||
* Automatically apply the /g flag to substitute commands.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user