Hi,

I'm working on tree-sitter-rpmspec [1] for syntax highlighting using tree-
sitter e.g. in neovim. In the meantime it is working quite well. I don't cover 
100% of the spec file specification yet and there are still issues with macros 
(especially macro nesting). I'm slowly getting there.

Below is a screenshot which shows the current state. Left is tree-sitter-
rpmspec and right is the vim-regex highlighting.

https://xor.cryptomilk.org/neovim/syntax-highlight-neovim.png

Try it out, give feedback or create MRs in case you want to contribute code.

Neovim:
https://github.com/nvim-treesitter/nvim-treesitter?tab=readme-ov-file#adding-parsers


Best regards


        Andreas


[1] https://gitlab.com/cryptomilk/tree-sitter-rpmspec


-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to