Robot Framework Extension #34799
admorgan
started this conversation in
Extensions and Themes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to create an extension for working with the Robot Framework language. I read the section of the website for adding Grammars and LSP support. Fortunately there is an official tree-sitter grammer for neovim. I thought that would be relatively straight forward to integrate, but I am not getting the results I expected. I see my attempted extension is loaded when I use
zed --foreground
and I see the file types are recognized base on the Grammar type in the status bar when I open a file.If I move some of the tree-sitter files into the languages/robot directory I can see some highlighting, but it is inconsistent and seems prone to failures, but no debugging output to tell me what went wrong. It feels strange I should need to duplicate the .scm files that are already in the original repo. Is there guidance so I can point the zed module to the original files, or how to trace what is gathered from the original tree-sitter grammer?
Fortunately there is also an LSP, and DSP for Robot Framework that I would like to add to Zed after I get the tree-sitter situation sorted out.
Beta Was this translation helpful? Give feedback.
All reactions