| Age | Commit message (Collapse) | Author |
|
* fix(notify): don't report request on new line
* ref(notify): update message format
* ref(msgs): always quote values + decrease duplication
* fix(ci): undefined variables
* ref(actions): temporary silent actions.__index errors
* cleanup
* revert: panic effort, we continue to use error for those
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
|
|
|
|
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).
|
|
followup to #1618, ensure insert after cursor
|
|
* 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>
|
|
This reverts commit 01426c491b2b612b48f48b26e2e77679006999d3.
|
|
* 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>
|
|
|
|
|
|
required after upstream changes to prompt buffer behavior
(see
https://github.com/neovim/neovim/commit/28134f4e78819c2bbf0344326b9d44f21eb0d736)
Fixes #1608
|
|
|
|
|
|
|
|
fix #1541
|
|
tables (#1143)" (#1486)
This reverts commit 6daf35c88c07dd4b220468968a742cda04889cd3.
|
|
|
|
* fix: action mt so we can again concat actions from two different tables
- without actually changing the public interface
- without having a local table that keeps track of all actions
* this should clear actions now
we never actually called this function which is kinda a problem because
we never cleaned up previous mapping stores.
We can also make a better mappings store which has access to the keys
sequences which would help the showing actions part
* bugfix
* that should now clear everything
only tests left i think
* more tests
* cleanup
* hack: make sure all actions get cleared
|
|
* fix: finish docs and remove mistakes from merge
* fix: change order of `popup` changes based on type of change
- removes "flash" issue where popups don't update in sync
|
|
Co-authored-by: johnybx <johnybx@users.noreply.github.com>
|
|
* feat: add hide / unhide preview or results and prompt
* fix edit actions while only preview window is active
* add option to start telescope without previewer -> "disable_previewer_at_startup"
* remove hide / unhide prompt and resutls, improve hide / unhide preview
* fix tests - check if popup window should be created with borders - popup.create does not support setting borderhighlight and border=false
* allow toggle preview even if preview is set to false
* reuse recalculate_layout in hide / unhide preview
* add docs to toggle preview
* check if preview window is valid window
* remove unnecessary changes
* cleanup, remove unnecessary changes
* close all previewers, refactor toggle preview code
[docgen] Update doc/telescope.txt
skip-checks: true
|
|
|
|
|
|
* Reverts #1120 many issues arise (mru, highlighting, settings inheritance, ...) when previewing actual buffers
|
|
|
|
* feat: add `gg` and `G` to default mappings
* refactor: use action_state.get_current_picker
* docs: mention new default gg/G keymaps
|
|
* Adjust which key float positioning for recent plenary and telescope theme changes
|
|
* fix: always show error message when nothing is selected
This continues the fixes done in 4816a27d7680feed293d21a945c476947af20d29 (ref #1283)
* Use correct variable name (selection) and add one more nil check
* Fix indentation
|
|
When opening a file under swap from the "fd" finder results an error was
printed after the file was opened, wrapping the call to "vim.cmd" in a
pcall avoids the error.
|
|
|
|
* Allow any qf cmd by defaulting to {lnum=1, col=1} for qflist if values are unset
|
|
|
|
* Fix error from type mismatch on repeated calls of `action.which_key` when instantiated by `actions.generate`
|
|
* Add default mappings `<C-/>`and `?` for insert and normal mode, respectively, to show registered keymappings (`actions.which_key`) attached to prompt buffer
|
|
* expose `cache_picker` in telescope.setup to configure caching, see `:h telescope.defaults.cache_picker`
* add builtin.resume and builtin.pickers picker
|
|
Use existing buffers for buffer previewer to allow previewing special buffer types
|
|
- keep insert if run in insert mode
- also look in `.local/share/nvim/telescope/symbols/*.json` for symbols
can be overriden with `symbol_path`
|
|
@oberblastmeister (#987)
* start: Working w/ async jobs
* short circuit to using bad finder if you pass writer.
|
|
|
|
|
|
|
|
|
|
|
|
* chore: stylua job and config
* reformat with stylua
|
|
available (#994)
|
|
This will deprecate telescope.path, we will remove it soon. Please move over to plenary.path
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
|
|
I knew i will break it with my last commit
|
|
history is enabled on default but cycle_history_next and cycle_history_prev is not mapped yet
Example:
require('telescope').setup {
defaults = {
mappings = {
i = {
["<C-Down>"] = require('telescope.actions').cycle_history_next,
["<C-Up>"] = require('telescope.actions').cycle_history_prev,
}
}
}
}
For more information :help telescope.defaults.history
big thanks to clason and all other testers :)
|
|
- add option `include_extensions` which defaults to `false`
- if `include_extensions` is `true` then add functions from extensions to results
- update `actions.run_builtin` to check if extension function provided
|