From cc772f4ffe4d1592282b32e056ad3187a4544644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Sat, 4 Dec 2021 13:44:07 +0100 Subject: [PATCH] Never show automatic completion popup in Markdown cells (#742) --- assets/js/cell/live_editor.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/js/cell/live_editor.js b/assets/js/cell/live_editor.js index 02cec70f3..35aa78b4f 100644 --- a/assets/js/cell/live_editor.js +++ b/assets/js/cell/live_editor.js @@ -164,10 +164,11 @@ class LiveEditor { fontFamily: "JetBrains Mono, Droid Sans Mono, monospace", fontSize: 14, tabIndex: -1, - quickSuggestions: settings.editor_auto_completion, + quickSuggestions: + this.type === "elixir" && settings.editor_auto_completion, tabCompletion: "on", suggestSelection: "first", - parameterHints: settings.editor_auto_signature, + parameterHints: this.type === "elixir" && settings.editor_auto_signature, }); this.editor.getModel().updateOptions({