Syntax highlighting with tree-sitter-rpmspec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux