mirror of
https://github.com/chinchang/web-maker.git
synced 2025-08-01 03:00:09 +02:00
dont show hints when space is typed
This commit is contained in:
@@ -768,7 +768,7 @@ settingsBtn, onboardModal, notificationsBtn, onboardShowInTabOptionBtn, onboardD
|
|||||||
}, updateDelay);
|
}, updateDelay);
|
||||||
});
|
});
|
||||||
cm.on('inputRead', function onChange(editor, input) {
|
cm.on('inputRead', function onChange(editor, input) {
|
||||||
if (input.text[0] === ';') { return; }
|
if (input.text[0] === ';' || input.text[0] === ' ') { return; }
|
||||||
CodeMirror.commands.autocomplete(cm, null, { completeSingle: false })
|
CodeMirror.commands.autocomplete(cm, null, { completeSingle: false })
|
||||||
});
|
});
|
||||||
return cm;
|
return cm;
|
||||||
|
Reference in New Issue
Block a user