| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
this follows nvim-treesitter more closely but enable can also be a table
of enabled languages
The config now looks like this:
```lua
defaults = {
preview = {
treesitter = {
enable = false,
-- or
enable = { "c" },
-- disable can be set if enable isn't set
disable = { "perl", "javascript" },
},
},
},
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
|
|
|
|
|
|
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
|
|
* defaults: change `center` layout default size
- now matches the description and has space for a preview above the central block
|
|
* feat(layout_strategies): started adding preview width for bottom pane
* fix(bottom_pane preview_width): fixed some values and added defualt
* fix(config): better default for preview cutoff
* fix(layout): removed unnecessary variable value
|
|
* 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
|
|
* feat: allow excluding positions for `shorten` in `path_display`
* [docgen] Update doc/telescope.txt
skip-checks: true
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
|
|
Can be changed back by setting
telescope.setup {
defaults = {
hl_result_eol = false,
}
}
|
|
|
|
(#1312)" (#1398)
This reverts commit 3b9ac8edba8c1b4053c7f6ac8a4e78969cec66dd.
|
|
Can be changed back by setting
telescope.setup {
defaults = {
hl_result_eol = false,
}
}
|
|
|
|
* 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>
|
|
* expose `cache_picker` in telescope.setup to configure caching, see `:h telescope.defaults.cache_picker`
* add builtin.resume and builtin.pickers picker
|
|
|
|
@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
|
|
* 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)
|
|
I knew i will break it with my last commit
|