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/book/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
..
generated add :lsp-restart command (#3435) 2 years ago
guides Fix typos (#3858) 2 years ago
SUMMARY.md Delete hooks.md (#3711) 2 years ago
commands.md Fix typos (#3858) 2 years ago
configuration.md Initial implementation of colored indentation guides 2 years ago
from-vim.md Fix typos (#3858) 2 years ago
install.md xcopy - assume destination is a directory (#3686) 2 years ago
keymap.md Fix the picker’s keymap documentation (#3925) 2 years ago
lang-support.md Rewrite Language Support docs (#2065) 3 years ago
languages.md Add documentation for `max-line-length` (#3974) 2 years ago
remapping.md simplify some keymap key names (#2677) 2 years ago
themes.md Parse rainbow style array in themes 2 years ago
title-page.md book: add wiki links to the title page and install page (#3017) 2 years ago
usage.md Fix typos (#3858) 2 years ago