mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-30 10:10:13 +02:00
dont show hints when space is typed
This commit is contained in:
@@ -768,7 +768,7 @@ settingsBtn, onboardModal, notificationsBtn, onboardShowInTabOptionBtn, onboardD
|
||||
}, updateDelay);
|
||||
});
|
||||
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 })
|
||||
});
|
||||
return cm;
|
||||
|
Reference in New Issue
Block a user