Open remcohaszing opened 1 year ago
I think it’s good to see this into two distinct features:
yaml-language-server
(but requires upstream fixes to misconfigured package exports)Supporting YAML frontmatter is relatively straight-forward and can be handled using an embedded language, especially now that we use Volar.
For TOML frontmatter and code blocks, we should use request forwarding. This should probably be upstreamed to Volar.
Initial checklist
Problem
It would be nice if we can provide editor features for embedded languages, this includes code blocks and frontmatter.
Solution
The Embedded Programming Languages guide offers some help.
I suggest to use the Request Forwarding method, because this means we support any languages the user has installed. This seems to be bound to Visual Studio Code though, not the language server.
Alternatives