Haml support
Is it possible for the extension to also support haml files?
Hi. Unfortunately, no. In order to support HAML templates, we need to get HAML support in Zed first. Zed relies on tree-sitter grammars to provide basically everything it has: syntax highlighting, LSP support and other functionalities. I am working on a tree-sitter grammar for HAML but I can't say when it will be ready to add it to the Ruby extension for Zed.
Hi. Unfortunately, no. In order to support HAML templates, we need to get HAML support in Zed first. Zed relies on tree-sitter grammars to provide basically everything it has: syntax highlighting, LSP support and other functionalities. I am working on a tree-sitter grammar for HAML but I can't say when it will be ready to add it to the Ruby extension for Zed.
Well that's great news that you were working on it, I set out to do it but couldn't find an existing tree sitter grammar. However, I looked recently and I found a (now deleted HAML tree sitter), I think it used to be in the NVIM repo.
Tree-sitter grammar for HAML is here - https://github.com/vitallium/tree-sitter-haml. I will enable HAML support in the next version.
There is an upstream issue to support HAML by Stimulus LSP https://github.com/marcoroth/stimulus-lsp/issues/51