Open a-usr opened 2 weeks ago
I'm working on a language support extension for Zed, and also getting some issue with the grammar.
⛔ tree-sitter-mermaid | ✅ tmLanguage |
---|---|
zed-mermaid grammar reference
| vscode-mermaid-syntax-highlight grammar reference
|
Preface: I have installed the mermaid TS module using the TSInstall command provided by the Neovim Tree-Sitter Plugin. After a quick google search for "Tree-Sitter Mermaid" I could only find this repository, so I assume that the Tree-Sitter Plugin installed the mermaid module from here. Should that not be the case I apologize for the inconvenience.
As you can tell from the following screenshot, I have been experiencing a couple of issues with the Mermaid Grammar. Specifically the following is quite obvious:
-
weirdly-
in a node name, the module highlights the charactero
whiteThe code used: