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/helix-term
Michael Davis 0c6d25acae
DynamicPicker: Recalculate column widths for new options (#6004)
This fixes blank row text in a DynamicPicker which is initially given
no options. This can happen for language servers which respond to
the workspace symbol request for an empty query with an empty list
of symbols, and that behavior is somewhat common since returning all
symbols as the spec suggests is very expensive.

For empty options, `Picker::new` calculated the widths of each column
as 0. We can recalculate the column widths when the new options are
set to fix this. This refactor is also a good opportunity to formalize
setting new options on a picker: besides setting the new options and
calculating column widths we also want to reset the cursor and rescore
the options.
2 years ago
..
src DynamicPicker: Recalculate column widths for new options (#6004) 2 years ago
tests Make `m` textobject look for pairs enclosing selections (#3344) 2 years ago
.gitignore Initial import. 5 years ago
Cargo.toml build(deps): bump grep-regex from 0.1.10 to 0.1.11 (#6215) 2 years ago
build.rs feat(lsp): pass client_info on initialization (#4904) 2 years ago