-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rainbow indentation guides #4493
base: master
Are you sure you want to change the base?
Conversation
Anyone up for reviewing? I and, I bet many others would greatly appreciate it! Thanks in-case someone does! |
This review kinda depends on the rainbow bracket PR, as i am using the same mechanism to get rainbow colours. |
Ah thanks for clarifying! |
Just linking the PR to the rainbow brackets here as a sort of dependency tracker: |
This change adds a field to the schema of themes which takes a list of styles. rainbow = ["red", "orange", "yellow", { modifiers = ["reversed"] }] [palette] red = "#ff0000" orange = "#ffa500" yellow = "#fff000" Normal style rules apply for each element in `rainbows`: you can use definitions from the palette and the full fg/bg/modifiers notation. Themes written with `rainbow` keys are not backwards compatible. Parsing errors will be generated for older versions of Helix attempting to use themes with `rainbow` keys. A default rainbow is provided with base16 colors. This change is made with rainbow pair characters (parens, brackets, etc.) in mind but it could also be used for other rainbow cosmetic elements like rainbow indent-guides.
44a57c6
to
ea58a7a
Compare
Docs fmt
ea58a7a
to
d1517c6
Compare
Closes #4010 (for tracking purposes) |
I see, if so I think that #4010 should not be closed. The issue specifically mentions:
|
ref: helix-editor/helix#4010 ref: helix-editor/helix#4493 Co-authored-by: SoraTenshi <dream@neoncity.dev>
Since the last PR is kind of broken, check PR #4056 for more info.