Syntax highlighting for Vue/HTML templates embedded in Elixir ~VUE sigils.
What this extension does
Injects Vue template tokenization into Elixir files inside ~VUE sigils.
Uses TextMate injection only; it does not register the vue language nor .vue files.
Intentionally omits a Vue language configuration to avoid conflicts with Volar. Volar provides the authoritative Vue configuration and editor behavior.
Requirements
VS Code ≥ 1.60 or Cursor (per package.json).
Recommended: install the Volar (Vue Language Features) extension. This extension relies on the Vue grammar provided by Volar, and avoids shipping its own language configuration to prevent conflicts. See Volar's language configuration for reference: Volar vue-language-configuration.json.
Supported ~VUE forms
The following Elixir sigil delimiters are recognized:
This extension provides syntax highlighting only. It does not add Vue language features (completion, formatting, diagnostics) inside Elixir strings.
Editor behaviors like auto-closing pairs and on-enter indentation are governed by the host editor and the active Vue extension; they may differ from plain .vue files.
Development
The grammar injection lives at syntaxes/elixir-vue.json.
Launch an Extension Development Host from VS Code to test changes.