You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Meson is a widely used build system whose code is similar to a "classic" programming language (more so than autotools and the m4 macro language...), so highlighting it shouldn't pose too many difficulties? It would be nice to have this builtin in pulsar, especially as there's no external package for it as far as I know.
What benefits does this feature provide?
Have meson code highlighting as a builtin feature in pulsar.
Any alternatives?
It could be a community package I suppose, but I don't know who's going to do it.
Other examples:
No response
The text was updated successfully, but these errors were encountered:
There's a tree-sitter-meson parser in the tree-sitter-grammars repo, so this is quite doable.
I understand that you're not exactly volunteering to create this community package, but it's likely a bit easier than you think it is. This documentation walks you through the process of creating a modern Tree-sitter grammar — building a .wasm file, writing highlighting queries, and so on. You'd be free to ping me on Discord if you needed tech support; I'm eager to grow the list of people comfortable with creating new language grammars.
If you'd rather wait for more explicit guidance, I could start the grammar myself and bequeath it to pulsar-cooperative; it would take me about an hour, but I can't predict when I'd be able to spend the time on it.
savetheclocktower
changed the title
Highlighting support for meson
Community package request: language-mesonFeb 26, 2025
I don't think I'll have the time to devote to it any time soon, honestly. I just thought about it when I reported the highlighting bug in C, because I've been writing a lot of meson code lately, mostly in pulsar without highlighting by the way, so I didn't miss it that much 😅
Have you checked for existing feature requests?
Summary
Meson is a widely used build system whose code is similar to a "classic" programming language (more so than autotools and the m4 macro language...), so highlighting it shouldn't pose too many difficulties? It would be nice to have this builtin in pulsar, especially as there's no external package for it as far as I know.
What benefits does this feature provide?
Have meson code highlighting as a builtin feature in pulsar.
Any alternatives?
It could be a community package I suppose, but I don't know who's going to do it.
Other examples:
No response
The text was updated successfully, but these errors were encountered: