diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-04 06:15:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-04 06:15:11 +0300 |
commit | 9f7f0ef116cd8f57446e1e395d8c2d6c88148096 (patch) | |
tree | 71b4cd22aaf65f1b2c3e200e03e5732087c15ee2 /app/assets/javascripts/pipeline_editor | |
parent | bc835172ed135a958f36a7be6c860b05d450a58f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/pipeline_editor')
-rw-r--r-- | app/assets/javascripts/pipeline_editor/components/editor/text_editor.vue | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/pipeline_editor/components/editor/text_editor.vue b/app/assets/javascripts/pipeline_editor/components/editor/text_editor.vue index bfbf24c6b13..5177cea900c 100644 --- a/app/assets/javascripts/pipeline_editor/components/editor/text_editor.vue +++ b/app/assets/javascripts/pipeline_editor/components/editor/text_editor.vue @@ -5,6 +5,11 @@ import SourceEditor from '~/vue_shared/components/source_editor.vue'; import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin'; export default { + editorOptions: { + // Quick suggestions is so that monaco can provide + // autocomplete for keywords + quickSuggestions: true, + }, components: { SourceEditor, }, @@ -29,6 +34,7 @@ export default { <div class="gl-border-solid gl-border-gray-100 gl-border-1 gl-border-t-none!"> <source-editor ref="editor" + :editor-options="$options.editorOptions" :file-name="ciConfigPath" v-bind="$attrs" @[$options.readyEvent]="registerCiSchema($event)" |