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
I have taken it upon myself to write a formatter for yuck. After some discussion in #1241 & #1232 and a great suggestion by @elkowar to use Tree Sitter for a formatter, I came across topiary.
It's a great tool to create simple formatters using Tree Sitter queries, which is exactly what I have done.
Now I come to you, everyone using eww, to ask for your input.
Q 1:
Formatting Style:
There are two prominent formatting styles, that I can think of, both of which are already in use in the eww examples:
I think having a separate repo would likely be nicer to maintain -- technically, packages could still package both tools together. It'd still be easily possible to merge a potential formatter into this repo after the fact, once something has been stabilzed
Greetings all! Hope you are having a lovely day.
I have taken it upon myself to write a formatter for yuck. After some discussion in #1241 & #1232 and a great suggestion by @elkowar to use Tree Sitter for a formatter, I came across topiary.
It's a great tool to create simple formatters using Tree Sitter queries, which is exactly what I have done.
Now I come to you, everyone using eww, to ask for your input.
Q 1:
There are two prominent formatting styles, that I can think of, both of which are already in use in the eww examples:
or
Which of these do you prefer, and are there any other formatting nit-pics that you would like addressed?
For the current formatting style, you can check out my eww config in my dotfiles here.
Q 2:
Having a separate repo would allow for more freedom at the cost of a slightly more cumbersome install.
The text was updated successfully, but these errors were encountered: