extensions
extensions copied to clipboard
Templ
Check for existing issues
- [X] Completed
Language
Templ
Tree Sitter parser link
https://github.com/vrischmann/tree-sitter-templ/tree/master
Language server link
https://marketplace.visualstudio.com/items?itemName=a-h.templ
Misc notes
No response
The language server link here is just pointing at the vscode plugin. The actual LSP can be built from https://github.com/a-h/templ
I just set the language to GO for now and it does somewhat of a good job.
Awesome, this might work somewhat for highlighting but the autocomplete and diagnostics capability will require the plugin.
if no one's working on this I can give it a shot with the new Zed extensions
Do note though, that current Zed extensions only support syntax highlights, but not the LSP-related features.
thanks for the heads-up @SomeoneToIgnore, are any plans to support LSPs through extensions for the future that you're aware of?
anyway having syntax highlighting would already be useful. I keep having to select Go whenever I open new files, which is a bit tedious.
Yes, the work is ongoing now as far as I am aware, but that might take time since currently it's closer to prototyping phase.
Looks like this was resolved from a syntax highlighting perspective in https://github.com/zed-industries/extensions/pull/232 we just need lsp support now!
LSP support was added via https://github.com/makifdb/zed-templ/pull/2.