From 4f4d0b18397b2cc0512afdf1cc7c74a6c547a5c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustaf=20J=C3=A4rgren?= Date: Wed, 11 Sep 2024 11:40:00 +0200 Subject: [PATCH] Colorize brackets --- src/App.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index cb1a33a..bebda6b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,7 +10,7 @@ import githubLogo from './assets/github.png' import { slashEscape, slashUnescape } from './utils'; -const MONACO_EDITOR_OPTIONS: monacoEditor.editor.IStandaloneDiffEditorConstructionOptions = { +const MONACO_EDITOR_OPTIONS: monacoEditor.editor.IStandaloneEditorConstructionOptions = { automaticLayout: true, formatOnType: true, formatOnPaste: true, @@ -22,6 +22,9 @@ const MONACO_EDITOR_OPTIONS: monacoEditor.editor.IStandaloneDiffEditorConstructi }, padding: { top: 5 + }, + bracketPairColorization: { + enabled: true } }