aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/theme.rs
Commit message (Collapse)AuthorAge
* Annotate Theme::highlight with #[inline]Blaž Hrastnik2021-12-01
|
* ui: Optimize tree-sitter style lookupsBlaž Hrastnik2021-12-01
| | | | | | | | | Tree sitter returns an index referring to the position of the scope in the scopes array. We can use that same index to avoid a hashmap lookup and instead store the styles in an array. This currently stores the styles in both a map and an array because the UI still uses hashmap lookups, but it's a reasonable tradeoff.
* Update to rust 1.56 + 2021 editionBlaž Hrastnik2021-10-22
|
* fix: Merge default palette with user paletteGokul Soumya2021-09-05
|
* feat: Default theme palette using 16 terminal colorsGokul Soumya2021-09-05
|
* Refactor theme parsing (#570)Gokul Soumya2021-08-12
|
* Color palettes (#393)Jakub Bartodziej2021-06-30
| | | | | | | | | | | | | | | | | | | * Enable using color palettes in theme files. * Add an example theme defined using a gruvbox color palette. * Fix clippy error. * Small style improvement. * Add documentation for the features to themes.md. * Update runtime/themes/gruvbox.toml Fix the value of purple0. Co-authored-by: DrZingo <DrZingo@users.noreply.github.com> Co-authored-by: DrZingo <DrZingo@users.noreply.github.com>
* Simplify selection rendering by injecting highlight scopesBlaž Hrastnik2021-06-27
|
* reverse the dependency between helix-tui and helix-view (#366)Keith Simmons2021-06-25
| | | | | | | | | * reverse the dependency between helix-tui and helix-view by moving a fiew types to view * fix tests * clippy and format fixes Co-authored-by: Keith Simmons <keithsim@microsoft.com>
* Add themes loaderwojciechkepka2021-06-19
|
* Add theme key for selected line numberGokul Soumya2021-06-16
| | | | | | | | | | | 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
* theme: Enable style modifiers in theme.toml, add Ingrid's theme (#113)Ingrid2021-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | * theme: Enable style modifiers in theme.toml * docs: theme documentation * fixup: parse modifiers with filter_map * theme: tests for parse_style * theme: Log invalid cases in theme.toml parse * docs: theme documentation fixup * docs: Blaz's theming comments * docs: Theme doc fixes from pickfire Co-authored-by: Ivan Tham <pickfire@riseup.net> * theme: More context in logs, TODO for alerting users * contrib: Ingrid's theme * docs: Theme subsection fixes Co-authored-by: Ivan Tham <pickfire@riseup.net>
* clippy lintBlaž Hrastnik2021-05-06
|
* Clippy lintBlaž Hrastnik2021-03-25
|
* Load theme from toml file.Blaž Hrastnik2021-03-25
|
* clippy lintsBlaž Hrastnik2021-03-22
|
* ui: Syntax highlight code inside markdown popups.Blaž Hrastnik2021-03-16
|
* Use diagnostic.severity to distinguish between error colors.Blaž Hrastnik2021-03-11
|
* popup: wip work on completion popupsBlaž Hrastnik2021-02-09
|
* Total mess but it works: diagnostic marking.Blaž Hrastnik2020-12-03
|
* clippy warningsBlaž Hrastnik2020-09-29
|
* Split parts of helix-term into helix-view.Blaž Hrastnik2020-09-21
It still largely depends on term for some types but I plan to change that later.