refactor(neovim-msg): remove neovim message

This commit is contained in:
Jason Poon 2017-11-11 22:59:43 -05:00
parent 733bdd1604
commit 4178379f3a
2 changed files with 0 additions and 18 deletions

View File

@ -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);

View File

@ -312,8 +312,6 @@ class ConfigurationClass {
neovimPath = 'nvim';
disableAnnoyingNeovimMessage = false;
/**
* Automatically apply the /g flag to substitute commands.
*/