Skip to content

Commit

Permalink
Fixes #1826
Browse files Browse the repository at this point in the history
  • Loading branch information
Chillee committed Jun 13, 2017
1 parent bc36c62 commit bb7826f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd_line/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export async function runCmdLine(command : string, modeHandler : ModeHandler) :

try {
var cmd = parser.parse(command);
if (!cmd.command || (cmd.command && cmd.command.neovimCapable && Configuration.enableNeovim)) {
if (Configuration.enableNeovim && (!cmd.command || (cmd.command && cmd.command.neovimCapable))) {
await Neovim.command(modeHandler.vimState, command).then(() => {
console.log("Substituted for neovim command");
}).catch((err) => console.log(err));
Expand Down

0 comments on commit bb7826f

Please sign in to comment.