Commit Graph

27 Commits (64e8f0017c9d8d8fd02b3e86378522974f6437b3)

Author SHA1 Message Date
Blaž Hrastnik 4cc562318a Improve docs, fix up a few highlight scopes 3 years ago
Blaž Hrastnik 4ac29434cb syntax: Add go & rust locals, improve tree-sitter error message 3 years ago
Blaž Hrastnik bf5b9a9f35 ui: Tone down the preview highlight by adding a new scope 3 years ago
Blaž Hrastnik 68626b8f78 ui: Refactor styling a bit, ensure infobox is stylable 3 years ago
Blaž Hrastnik 55f1f04717 Highlight (html) tags 3 years ago
Blaž Hrastnik 3ca05fce31 Fix number highlighting 3 years ago
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 4 years ago
Blaž Hrastnik f9cdb2afe2 Turn diagnostics rendering into span injection too 4 years ago
Blaž Hrastnik 057bd630d8 Simplify selection rendering by injecting highlight scopes 4 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
4 years ago
Alex Ryapolov 2924522aea Remove duplicate properties from theme.toml 4 years ago
Blaž Hrastnik ea8cd4765d Adjust default theme colors (insert/extend cursor) 4 years ago
wojciechkepka d70be55f70 Add ability to theme primary selecition 4 years ago
wojciechkepka 1c1474c3b8 Add `ui.statusline.inactive`, use `ui.statusline` for statusline text 4 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
4 years ago
Gokul Soumya f33aaba53f Add ui.selection to theme.toml
Enables changing the color of the selection which was previously
hard coded.
4 years ago
Blaž Hrastnik a2147fc7d5 Change help prompt styling 4 years ago
Blaž Hrastnik 094203c74e Update deps, introduce the new tree-sitter lifetimes 4 years ago
Blaž Hrastnik 6e03019a2c Adjust highlighting for rust. 4 years ago
Blaž Hrastnik f0712479cb Define text color (mostly) in theme.toml. 4 years ago
Blaž Hrastnik 77db3599ba Fix C highlighting inconsistencies. 4 years ago
Blaž Hrastnik 305a059f58 Highlight metavariables ($var) inside rust macros. 4 years ago
Blaž Hrastnik 52da68e49a Render a separator between vertical splits. 4 years ago
Blaž Hrastnik fb792c5bca Add a python language definition. 4 years ago
Blaž Hrastnik 3bab640491 Add c++, js, css, html language definitions. 4 years ago
Blaž Hrastnik a65395d94b Load theme from toml file. 4 years ago