Commits


set default foreground color for links line After a talk with tgl (thanks!) about defaults, I'm convinced this is a sensible default. For people who don't like colours (myself included), telescope will honour the `NO_COLOR' env variable. Then there is also the set enable-colors = 0 for the config file. We could go further and provide a flag like -O var=value to set some values without the need for a config file eventually.


kill lineface_descr and move its fields into line_face


declare tl_init_pair as void, not int


define tl_init_pair to handle un-usable colors and enable-colors=0


rename config_apply_color -> config_apply_style


enable olivetti-mode by default and set fill-mode to 80


allow changing the colors/attributes of the tabline


allow changing the attributes `attr' now follows the same rule as `fg' and `bg', with the three airity variant. Attributes by themselves are a comma-separated list of keywords, each one representing a ncurses attribute.


use term default color by default for every line type


allow customizing left and right padding + use_default_colors


allow changing the background color of the body window


small refactor


rework color management: introduce the trailing props now, instead of prefix and line style, I'm adding the trailing style too. This changed the configuration syntax too.


first scratch for colour support!


add enable-colors (variable) currently unused, will help later when adding colour support