mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-21 08:03:38 +00:00
The Vue editor mode (`@codemirror/lang-vue` over the stock HTML base) parses every `<style>` block as plain CSS, so SCSS — nested rules, $-variables, and so on — rendered uncoloured or mis-highlighted. Register a Vue mode of our own (overriding the language-data entry) that gives the HTML base a nested Sass grammar for `<style>` whose `lang` is `scss` or `sass`; blocks without a dialect keep CSS.