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/helix-term/src/ui
Mathspy fa4934cff9
Default rulers color to red (#2669)
* Default rulers color to red

Currently if the theme a user is using doesn't have `ui.virtual.rulers`
set and they set up a ruler it just fails silently making it really hard
to figure out what went wrong. Did they set incorrectly set the ruler?
Are they using an outdated version of Helix that doesn't support rulers?

This happened to me today, I even switched to the default theme with
the assumption that maybe my theme just doesn't have the rulers setup
properly and it still didn't work.

Not sure if this is a good idea or not, feel free to suggest better
alternatives!

* Use builtin Style methods instead of Bevy style defaults

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Only default the style if there's no ui or ui.virtual

* Update themes style from ui.virtual to ui.virtual.whitespace

* Revert ui.virtual change in onelight theme

* Prefer unwrap_or_else

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
..
completion.rs Restore document state on completion cancel (#2096) 2 years ago
editor.rs Default rulers color to red (#2669) 2 years ago
info.rs Rename infobox theme scopes (#1741) 2 years ago
markdown.rs Improve markdown list rendering (#2687) 2 years ago
menu.rs ignore Enter keypress when menu has no selection (#1704) 2 years ago
mod.rs Better handling of symlinks (#2718) 2 years ago
overlay.rs Add `PageUp`, `PageDown`, `Ctrl-u`, `Ctrl-d`, `Home`, `End` keyboard shortcuts to file picker (#1612) 2 years ago
picker.rs Bump dependencies, allow retain_mut for now 2 years ago
popup.rs deletion of lines affecting popup scrolling (#2497) 2 years ago
prompt.rs prompt: If submitting empty prompt, use default (last used) 2 years ago
spinner.rs Instant is more suitable than SystemTime for spinners 2 years ago
text.rs fix: Allow multi-line prompt documentation 2 years ago