* Change center layout strategy to allow vertical anchoring
Affects `telescope.pickers.layout_strategies.center` that is used by dropdown
(`telescope.themes.get_dropdown()`) theme, allowing more customization for
dropdown theme, i. e. setting it in the top with mirrored preview.
For `anchor` containing `N` or `S` will ignore `mirror` config
and preview will be placed as follows:
- Anchoring for `N` put the preview below the prompt result block.
- Anchoring for `S` put the preview above the prompt result block.
- For horizontal anchoring preview will be placed according to `mirror`.
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
use `r` mode to instead use `" "` mode. This makes Telescope quickfix list action send results
to a new list in the quickfix stack instead of overwriting the entries in the current list.
Doing so enables `:chistory`, `:colder` and `:cnewer` functions to review results of
previous Telescope queries.
The location list uses a similar API and is updated in this PR also
(ie this also enables :lhistory, :lolder and :lnewer).
* fix: `multi_icon` with `select/drop/toggle_all`
* typos
* fix: add check for no caret found
* fix: add check for no line found
* fix: check `max_results` in `Picker:can_select_row`
- also switch order of highlighting in `select/drop/toggle_all` actions
* fix: make `max_results` check a strict inequality
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: update `prompt_status` on `select/drop/toggle_all` actions
Co-authored-by: Github Actions <actions@github>
The file_browser now has been fully removed.
Please move to github.com/nvim-telescope/telescope-file-browser.nvim
for a more featureful extension that replaces the builtin file browser.
* fix: folding after a file is opened
fixes#559
* fix: wrap nvim_win_set_cursor in autocmd
* chore: Cleanup folding fix
* explain the reason behind the autocmd
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
* feat: add `multi_icon` option to pickers and corresponding highlight
* feat: allow `multi_icon` to be any length
* fix: adjust `selection_caret` highlighting
`builtin.file_browser` will be removed in favor of `telescope-file-browser.nvim`.
Primary rationale for carving out the file browser to an extension:
- Faster development
- Very expansive picker with larger feature set than builtins
We added this for rg 13.0 release because it was needed but it doesnt
seem to be needed anymore. Weird
This might be due to some changes in neovim or due to changes to jobs