| Age | Commit message (Collapse) | Author |
|
|
|
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>
|
|
- changes check for Windows OS, as 0 is truthy, so `not 0` and `not 1` are both `false`
|
|
|
|
Define the undefined variable “action_state”, which is used in a code
example for replacing picker mappings in the README.
|
|
|
|
maker. (#973)
|
|
|
|
|
|
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 :)
|
|
|
|
|
|
BREAKING CHANGE: see :help telescope.changelog-839 for more information
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
|
|
- 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
|
|
|
|
* 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>
|
|
* fix: display issues in `:Telescope registers`
- Problems occured when a register contained newlines
- Caused issues in `Picker:set_selection`
- Couldn't move selection when a register with newlines was selected
|
|
- 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>
|
|
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
fix: ripgrep 13
|
|
|
|
|
|
lsp_{document,workspace}_diagnostics (#867)
|
|
|
|
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",
}
}
}
}
}
```
|
|
This allows easier picker configuration for example:
```lua
require("telescope").setup {
pickers = {
buffers = {
show_all_buffers = true,
sort_lastused = true,
theme = "dropdown",
previewer = false,
mappings = {
i = {
["<c-q>"] = "smart_send_to_qflist",
}
}
}
}
}
```
This configuration will be applied when running `:Telescope buffers`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(#858)
* show_all_buffers true by default, added docs
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix for docs, used param instead of field oops
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
|
|
* Add documentation for quickfix actions
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
|
|
(#853)
|
|
The configuration example does not match the comment.
|
|
|
|
|
|
`string.find()` is defaulting to _pattern_ matching (rather than string
literal matching). If you are using the `only_cwd` command in a
directory with a `-` (for example) the option fails to work.
This fix asks `string.find()` to interpret the arguments as literal
strings rather than patterns.
Reference: https://stackoverflow.com/a/15258515/181902
|
|
* feat: add new layout strategy
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
|
|
If there's a new finder the multi selection is invalidated, so reset it
|
|
|
|
|
|
There's a slight lag on the first preview loading (during preview buffer creation).
It is not visible the next time user chooses a file for preview because scratch buffer
for the file already exists. This lag *and* setting preview window to display the newly
created buffer before its fully initialized causes a brief flash of blank terminal background.
This change delays setting preview window to display the new preview buffer and consequently
eliminates the flash. It should improve user experience since flickering can be distracting.
|
|
PR #800 add git_stash picker. However, it's not added as a field in builtin.
|
|
|