Zig syntax highlighting
nrbjerg opened this issue · 2 comments
Hi. I just wanna start by saying that i LOVE the project, makes code editing 10x more enjoyable.
I was wondering what it would take to add Zig syntax highlighting (as seen in the Zig repo), if you could point me in the right direction i would get right on it :)
PS im a complete noob
Hey @nrbjerg , as you mentioned, the zig grammar is available in the repo. This will give us the tree information, but for the syntax highlighting to work, you need the syntax files in the queries as mentioned in the README. You will be able to find an example of the highlights.scm
file in the zig repo here, but we have to adapt it for elisp-tree-sitter
. Feel free to reach out in case you need more help.
Sorry for the lack of progress (life got in the way).
Recently i have been looking into the task of adapting the example feels completely overwhelming. And since exams are comming up i won't be able to complete the issue