You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-view/src
Michael Davis 1daf0c35c7 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.
2 years ago
..
handlers Make external terminal provider configurable 2 years ago
clipboard.rs One more windows fix... 2 years ago
document.rs Re-sort diagnostics after transaction transform (#3895) 2 years ago
editor.rs Initial implementation of colored indentation guides 2 years ago
graphics.rs Fix LF line-endings (#3316) 2 years ago
gutter.rs Make mode editor-wide rather than per-document 2 years ago
info.rs Handle newlines in register infobox 2 years ago
input.rs fix: Don't translate mouse up events as down 2 years ago
keyboard.rs Update to crossterm-0.25 (#3390) 2 years ago
lib.rs Split off dap event handlers into helix-view to allow reuse 2 years ago
macros.rs Expand doc/view macros to allow fetching specific id 2 years ago
theme.rs Parse rainbow style array in themes 2 years ago
tree.rs Fix cargo doc warnings, and add GitHub action to ensure it (#3650) 2 years ago
view.rs Rename padding to spacer, remove by default 2 years ago