feat: multiselect icon (#1572)

* feat: add `multi_icon` option to pickers and corresponding highlight

* feat: allow `multi_icon` to be any length

* fix: adjust `selection_caret` highlighting
This commit is contained in:
Luke Kershaw
2022-01-05 22:42:29 +00:00
committed by GitHub
parent 749ce3b8ca
commit f285599440
5 changed files with 64 additions and 7 deletions

View File

@@ -184,6 +184,15 @@ telescope.setup({opts}) *telescope.setup()*
Default: ' '
*telescope.defaults.multi_icon*
multi_icon: ~
Symbol to add in front of a multi-selected result entry.
Replaces final character of |telescope.defaults.selection_caret| and
|telescope.defaults.entry_prefix| as appropriate.
To have no icon, set to the empty string.
Default: '+'
*telescope.defaults.initial_mode*
initial_mode: ~
Determines in which mode telescope starts. Valid Keys: