Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Feb 12, 2023

  1. Parse rainbow style array in themes

    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.
    the-mikedavis authored and SoraTenshi committed Feb 12, 2023
    Configuration menu
    Copy the full SHA
    7f47756 View commit details
    Browse the repository at this point in the history
  2. Update to new TextRenderer

    Docs
    
    fmt
    SoraTenshi committed Feb 12, 2023
    Configuration menu
    Copy the full SHA
    d1517c6 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    b5bf681 View commit details
    Browse the repository at this point in the history