summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorIsaac Smith <isaac@isrv.pw>2018-06-15 13:22:56 -0500
committerIsaac Smith <isaac@isrv.pw>2018-06-15 13:22:56 -0500
commit5104098fab7f72fff15d5e1a69f1597391b59b31 (patch)
treeac7cf630ecc6874a7ffb19c6f32491f40ccb6472 /app
parent15ad1a9767d5f6a5e45073d2463f9a4597185e77 (diff)
downloadgitlab-ce-5104098fab7f72fff15d5e1a69f1597391b59b31.tar.gz
Fix #47796 "Web IDE autocomplete should be disabled in markdown files"
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/ide/lib/editor_options.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/ide/lib/editor_options.js b/app/assets/javascripts/ide/lib/editor_options.js
index 9f895d49f2e..e35595ab1fd 100644
--- a/app/assets/javascripts/ide/lib/editor_options.js
+++ b/app/assets/javascripts/ide/lib/editor_options.js
@@ -12,5 +12,6 @@ export const defaultEditorOptions = {
export default [
{
readOnly: model => !!model.file.file_lock,
+ quickSuggestions: model => !(model.language === 'markdown'),
},
];