| Age | Commit message (Collapse) | Author |
|
|
|
* feat(highlight): add Normal highlights for prompt and results
* fix(highlight): link to TelescopeNormal by default
|
|
multigrid UI (#1421)
|
|
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
|
|
Force clearing the highlights while the picker is still open
|
|
picker:refresh (#1451)
|
|
|
|
|
|
|
|
- requires nvim-lua/plenary.nvim#260
|
|
|
|
|
|
* 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>
|
|
|
|
It doesnt make sense to count these. Most likely they were never shown.
Example: `man_pages` excludes pages from different sections. So you
filter for man pages and end up with like 5 entries and the counter
still says 1000. Not a good experience.
|
|
* some scrollin
* [WIP]: Fri 10 Sep 2021 02:24:20 PM EDT
* ok, I think scrolling works
* change to 1000 for now, dont need to scroll that far :)
|
|
file_ignore_patterns (#1243)
|
|
|
|
* fix: missing opts for cached picker creation
* fix: make properly overridable
|
|
* expose `cache_picker` in telescope.setup to configure caching, see `:h telescope.defaults.cache_picker`
* add builtin.resume and builtin.pickers picker
|
|
fix(pickers): opts.default_text and cursor are now correctly set for opts.initial_mode="normal"
|
|
|
|
|
|
@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
|
|
**Why** is the change needed?
So that it can be targeted with specific settings. These could include disabling
plugins for the buffer (as in #840) or disabling folding (as per #991).
**How** is the need addressed?
- Add a filetype to the buffer after it has been created.
Closes #991
|
|
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 :)
|
|
|
|
* 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
|
|
* fix: prevent error when overriding tables with numbers
Fixes #944
- refactor `config.smarter_depth_2_extend`
- use `config.smarter_depth_2_extend` for setting `layout_config` in `Picker:new`
* test: check that can override a table with a number for layout configuration
|
|
* 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>
|
|
- new git previewers
- jump to line in bcommit previewer
- vimdiff for bcommits
- dynamic preview window titles
- more previewers documentation
Cycle previewers are not mapped yet. So you need to setup yourself:
```lua
require('telescope').setup {
defaults = {
mappings = {
i = {
["<C-s>"] = actions.cycle_previewers_next,
["<C-a>"] = actions.cycle_previewers_prev,
},
},
}
}
```
Co-authored-by: Thore Strassburg <thore@weilbier.net>
|
|
This action is not mapped but you can do it yourself in your telescope setup call
Example config:
```lua
require("telescope").setup {
pickers = {
buffers = {
mappings = {
i = {
["<c-d>"] = "delete_buffer",
}
}
}
}
}
```
|
|
|
|
If there's a new finder the multi selection is invalidated, so reset it
|
|
This probably fixes issues with nobuflisted buffers (startify, dashboard-nvim and probably more)
|
|
|
|
|
|
|
|
* feat: Add more sorter hooks
* fix breaking conni brain
|
|
* something kind of works already
* yayayayayayayayayayayayayayayayayayayayayayayayayayayayayayayayaya
* use async for everything besides live jobs
* fix: fixup autocmds previewer
* fix: lints for prime
* temp: Add example of how we can think about async sorters
* feat: Allow picker to decide when to cancel
* fix: simplify scoring logic and tests
* fixup: name
* fix: Move back towards more backwards compat methods
* fixup: Remove results from opts
* fixup: remove trailing quote
* fixup: Attempt to clean up some more async items. Next is status
* wip: Add todo for when bfredl implements extmarks over the EOL
* wip
* fixup: got em
* fixup: cleaning
* fixup: docs
|
|
* fix: stop leaking last preview buffer
* fix: formatting for docs
* fix: async check if file is dir or not and
- fix for in_fast_event when overriding file_maker
* fix: filtering for space in keymaps and fzy
* fix: show correct result numbers when using file_ignore_patterns
* Handle early close. Caused because we actually cleaning up buffers now
* cleanup
* [docgen] Update doc/telescope.txt
|