From e8cb087c329bd5423661e8331e78347dc52fceb8 Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Mon, 15 Jun 2020 15:57:20 +0300 Subject: [PATCH] fix spec color highlighting not working on vega vis (#68995) Co-authored-by: Elastic Machine --- src/plugins/vis_type_vega/public/components/vega_vis_editor.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/vis_type_vega/public/components/vega_vis_editor.tsx b/src/plugins/vis_type_vega/public/components/vega_vis_editor.tsx index 31144065d7b40..1da5e7544850a 100644 --- a/src/plugins/vis_type_vega/public/components/vega_vis_editor.tsx +++ b/src/plugins/vis_type_vega/public/components/vega_vis_editor.tsx @@ -22,6 +22,7 @@ import { EuiCodeEditor } from '@elastic/eui'; import compactStringify from 'json-stringify-pretty-compact'; // @ts-ignore import hjson from 'hjson'; +import 'brace/mode/hjson'; import { i18n } from '@kbn/i18n'; import { VisOptionsProps } from 'src/plugins/vis_default_editor/public';