From 9148b5e99e495402578058e577f15f80a4d6ceff Mon Sep 17 00:00:00 2001 From: Elena Makarova Date: Fri, 3 Oct 2025 11:36:43 +0200 Subject: [PATCH] fix: syntax highlight for yaml --- config-overrides.js | 1 + src/components/SyntaxHighlighter/types.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config-overrides.js b/config-overrides.js index 122b24445..e6d6742d5 100644 --- a/config-overrides.js +++ b/config-overrides.js @@ -37,6 +37,7 @@ module.exports = { } config.plugins.push( new MonacoWebpackPlugin({ + languages: ['yaml'], customLanguages: [ { label: 'yql', diff --git a/src/components/SyntaxHighlighter/types.ts b/src/components/SyntaxHighlighter/types.ts index 28e6b0cdf..62c51d459 100644 --- a/src/components/SyntaxHighlighter/types.ts +++ b/src/components/SyntaxHighlighter/types.ts @@ -7,5 +7,4 @@ export type Language = | 'javascript' | 'php' | 'python' - | 'yql' - | 'yaml'; + | 'yql';