Commit Graph

21 Commits (e6bf6a8f285f4d11eb7be0b745b70d37e1dd6dfa)

Author SHA1 Message Date
Blaž Hrastnik 906cfd52e0 Clean up the default theme definition 3 years ago
Blaž Hrastnik e9159887a9 ui: Use a box drawing character vertical line for splits 3 years ago
Blaž Hrastnik f9cdb2afe2 Turn diagnostics rendering into span injection too 3 years ago
Blaž Hrastnik 057bd630d8 Simplify selection rendering by injecting highlight scopes 3 years ago
Ivan Tham 74cc4b4a49
Add default color for cursor match (#370)
* Add default color for cursor match

Not all terminals support dim, for those terminal that does not support
this (konsole, item2, wezterm), users cannot differentiate between match
and primary cursor. So set a color for this.

* Use alacritty dim color for match
3 years ago
Alex Ryapolov 2924522aea Remove duplicate properties from theme.toml 3 years ago
Blaž Hrastnik ea8cd4765d Adjust default theme colors (insert/extend cursor) 3 years ago
wojciechkepka d70be55f70 Add ability to theme primary selecition 3 years ago
wojciechkepka 1c1474c3b8 Add `ui.statusline.inactive`, use `ui.statusline` for statusline text 3 years ago
Gokul Soumya d1c8a74771 Add theme key for selected line number
Adds `ui.linenr.selected` which controls highlight of linu numbes which
have cursors on.

- Fallback to linenr if linenr.selected is missing

- Update docs and themes

- Add TODOs for themes with temporary linenr.selected
3 years ago
Gokul Soumya f33aaba53f Add ui.selection to theme.toml
Enables changing the color of the selection which was previously
hard coded.
3 years ago
Blaž Hrastnik a2147fc7d5 Change help prompt styling 3 years ago
Blaž Hrastnik 094203c74e Update deps, introduce the new tree-sitter lifetimes 3 years ago
Blaž Hrastnik 6e03019a2c Adjust highlighting for rust. 3 years ago
Blaž Hrastnik f0712479cb Define text color (mostly) in theme.toml. 3 years ago
Blaž Hrastnik 77db3599ba Fix C highlighting inconsistencies. 3 years ago
Blaž Hrastnik 305a059f58 Highlight metavariables ($var) inside rust macros. 3 years ago
Blaž Hrastnik 52da68e49a Render a separator between vertical splits. 3 years ago
Blaž Hrastnik fb792c5bca Add a python language definition. 3 years ago
Blaž Hrastnik 3bab640491 Add c++, js, css, html language definitions. 3 years ago
Blaž Hrastnik a65395d94b Load theme from toml file. 3 years ago