From 45df3f25e34955b23914e3e734e395198ce927f2 Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Fri, 12 Jun 2020 13:32:29 +0300 Subject: [PATCH] fix spec color highlighting not working on vega vis --- 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';