| Age | Commit message (Collapse) | Author |
|
* feat: allow excluding positions for `shorten` in `path_display`
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
|
|
|
|
- also updates the error message to point to it
|
|
|
|
|
|
Co-authored-by: Github Actions <actions@github>
|
|
* Make `file` mime type detection for Windows users opt-in, as it caused issues when they had it
|
|
(#1312)" (#1398)
This reverts commit 3b9ac8edba8c1b4053c7f6ac8a4e78969cec66dd.
|
|
Can be changed back by setting
telescope.setup {
defaults = {
hl_result_eol = false,
}
}
|
|
|
|
|
|
* WIP: recalculate picker layout on `VimResized`
* refactor: `popup.resize` -> `popup.move`
* fix: scroll to the correct place after resize
* fix: update positioning in results buffer
* fix: completely redraw results buffer on resize
* fix: handle preview enable/disable
* fix: work with scrolling
* docs: add plan for `toggle_padding`
* refactor: factor out creation of picker windows
* refactor: pass highlights directly to popup_create
* refactor: remove lines update and factor out scroll repositioning
Co-authored-by: Github Actions <actions@github>
|
|
* enable `symbols` filtering opt for builtin.dynamic_workspace_symbols
|
|
* Alias cwd_only and only_cwd option for builtins
Fixes #1199
Closes #1275
|
|
* feat: allow `prompt_position` for `vertical` layout strategy
* feat: allow `prompt_position` for `bottom_pane` layout strategy
* stylua
* [docgen] Update doc/telescope.txt
skip-checks: true
* refactor: switch to `string.format`
* stylua
* feat: allow `prompt_position` for `center` layout strategy
* feat: handle user defined `prompt_position` within themes
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: tweak `center` layout
- ensure `prompt` title is visible when `prompt_position="bottom"`
* fix: refactor `center` tweak
- move title to bottom of picker when `prompt_position="bottom"`
* fix: tweak `bottom_pane` layout
* stylua
Co-authored-by: Github Actions <actions@github>
|
|
|
|
followup to https://github.com/nvim-telescope/telescope.nvim/pull/1254
and implementation of
https://github.com/nvim-telescope/telescope.nvim/pull/1254#issuecomment-922527270
|
|
|
|
* wip: 2021-07-22 15:00 BST
* wip: `horizontal` refactored
* wip: `center` refactored
* wip: `cursor` and `vertical` refactored
* wip: `current_buffer` refactor
- also changed `layout_config_defaults` as they gave errors when using `current_buffer`
* wip: `bottom_pane` refactor
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: put accidentally remove config option back
* [docgen] Update doc/telescope.txt
skip-checks: true
* wip: standardise `height` calculation for `center` and `bottom_pane`
* wip: improve comments
* [docgen] Update doc/telescope.txt
skip-checks: true
* stylua
- also fix a merge mistake
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: attempt to fix bad merge
* refactor: remove unused entry in `borderchars` table
- also fix some typos
* wip: tweak padding for `bottom_pane`
* wip: add `tabline` checks to `bottom_pane`
- also tweaked position so that `statusline` is not covered when borders are enabled
* stylua
* refactor: factor out size capping function
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: adjust tests that relied on height being number of results
* fix: forgot variable in calc_size_and_spacing
* fix: maybe this fixes these tests?
* test: try other plenary branch for ci
* test: switch back to main plenary branch for ci
* fix: actually define `max_results` in the test
* fix: final tweaks for edge cases
Co-authored-by: Github Actions <actions@github>
|
|
* For full configuration, see `:h telescope.defaults.preview`
* Unblocks previewer on binaries, too large files, and files that take too long to read
* Allows toggling treesitter highlighting for buffer_previewer
* Allows to globally opt out of previewer
|
|
|
|
|
|
path_display = { "smart" }
Co-authored-by: Deniz <deniz@admentum.se>
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
|
|
|
|
* 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
|
|
i forgot it. My bad
|
|
- keep insert if run in insert mode
- also look in `.local/share/nvim/telescope/symbols/*.json` for symbols
can be overriden with `symbol_path`
|
|
|
|
|
|
|
|
|
|
mask) (#1017)
|
|
|
|
|
|
:help builtin.buffers
|
|
* Add basic implementation of "cursor" layout strategy
* Update cursor layout strategy to properly follow cursor
* feat(cursor_layout): handle previewer
* Refactor cursor layout code
* Add cursor theme
* Update readme
* Improve cursor theme and layout documentation
* [docgen] Update doc/telescope.txt
skip-checks: true
* Remove trailing whitespace
* Fix issues related with neovim and plugin api changes
* [docgen] Update doc/telescope.txt
skip-checks: true
* Allow preview width to be configured
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
Co-authored-by: cbrunel <cbrunel@sogescom.local>
|
|
|
|
* feat: add `shorten_len` option for path shortening
- adds option to configure the length of shortened parts of filenames
- only affects paths when "shorten" is in `path_display`
* chore: revert rebase for `path.lua` to 876bed9
* refactor: replace `shorten_len` with the `shorten` key in `path_display`
- also deprecates `utils.path_shorten` and passes straight to `plenary`s `Path:shorten`
* feat: allow `path_display` to handle table keys, as well as strings
|
|
(#1000)
|
|
|
|
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>
|
|
|
|
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 :)
|
|
|
|
BREAKING CHANGE: see :help telescope.changelog-839 for more information
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
|
|
* Added closest selection_strategy to use default_selection_index initially but prefer highest ranked match when prompt not empty
* Updated supporting documentation to include selection_strategy
|
|
* feat: Consistent and sensible layout_config
* [docgen] Update doc/telescope.txt
skip-checks: true
* [WIP]: Thu 17 Jun 2021 03:36:44 PM EDT
* [WIP]: Thu 17 Jun 2021 03:38:11 PM EDT
* layout_default -> layout_defaults
* remove options from bug repot
* Conni2461 suggestions: part 1
* [docgen] Update doc/telescope.txt
skip-checks: true
* Conni2461 suggestions: part 2
* [docgen] Update doc/telescope.txt
skip-checks: true
* Linting
* Improve deprecation checks
- Move `layout_defaults` handling to `deprecated.lua`
- Check for "layout keys" outside of `layout_config` on `setup`
* fixup: Just add a few more words
Co-authored-by: Luke Kershaw <35707277+l-kershaw@users.noreply.github.com>
Co-authored-by: Github Actions <actions@github>
|