Open niveK77pur opened 9 months ago
I'm also interested in the state of this project.
Recently I have switched editor from NeoVim to Helix and was looking for syntax highlighting of LilyPond files in Helix. This tree-sitter grammar with the provided queries covers the basics. Thanks a lot for your work ❤️
Are there obvious parts where further work is needed?
https://github.com/nwhetsell/tree-sitter-lilypond looks to be more complete, even supporting highlighting inline scheme code within lilypond files. I'm learning Helix and treesitter for the first time though so I can't offer any screenshots for reference on how feature complete the syntax highlighting is.
A bit late for me to chime in, but I wanted to mention there’s a screenshot of the highlighting from https://github.com/nwhetsell/tree-sitter-lilypond at https://github.com/nwhetsell/nova-lilypond-extension/blob/main/README.md (as applied by Nova).
@jaythomas Thanks for the plug!
Hello there! For the longest time I wished that lilypond had a treesitter parser as it would allow me to vastly improve and more easily develop some of my current neovim functions that deal with lilypond code.
After following these steps I managed to get this parser working in neovim! Here is my current config.
However, running
tree-sitter test
returns an error. Also checking out some of my lilypond files I encounter a lot ofERROR
s using:InspectTree
, even though it seems to correctly identify most of the elements (such as<
,>
,,
,'
,|
,#
). On the other hand, I notice that (nested) blocks like{ ... }
andx/y
fractions do not seem to be recognized (for the most part).I haven't dealt with treesitter a whole lot until now, so I can't exactly say what else is not working properly, but there definitely seems to be a solid foundation here! I was hoping to get a better idea of where this project is standing right now.