summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2021-07-18Set a filetype for the results buffer (#1019)Rasmus Bergström
**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
2021-07-18fix for #847 (#1022)Ben Smith
2021-07-18Mirror option for bottom_pane layout_strategy (#847)Ben Smith
* functional mirror opt for bottom_pane strategy * [docgen] Update doc/telescope.txt skip-checks: true * forgot 'end' to close function * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions <actions@github>
2021-07-17fix: prevent error if preview scroll is triggered but no preview is ↵Abe Nonym
available (#994)
2021-07-17feat: add ^ and $ to characters handled by regex escape (#1007)Daniel Imfeld
2021-07-17fix: correct the prompt title (#1013)wongxy
2021-07-16fix: error from hopping faster than preview (#1006)fdschmidt93
2021-07-16feat: add cursor layout (#878)Corentin Brunel
* 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>
2021-07-16feat: enable to preview themes (#980)wongxy
2021-07-16feat: Add length option for `shorten_path` (#886)Luke Kershaw
* 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
2021-07-16feat: Add ability to have a user defined function to format the path display ↵Nazeeh ElDirghami
(#1000)
2021-07-14feat: add `search_dirs` to split_keywords table (#986)Jonathan Teran
This allows the command parser to correctly split `search_dirs` into a table. Should solve nvim-telescope/telescope.nvim#985
2021-07-14chore: changelog for 473 (#992)Simon Hauser
2021-07-14refactor: move from telescope.path to plenary.path (#473)anott03
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>
2021-07-14fix: builtin `find_files`, `find` command `win32` check == 0 (#989)Luke Kershaw
- changes check for Windows OS, as 0 is truthy, so `not 0` and `not 1` are both `false`
2021-07-13feat: add Windows `where` file finder command (#979)Luke Kershaw
2021-07-11fix: for closed buffer in tagstack picker (#972)caojoshua
2021-07-11refactor: Jumplist picker uses quickfix entry maker. Delete jumplist entry ↵caojoshua
maker. (#973)
2021-07-10fix: pasting multiline register content (#971)toppair
2021-07-09hotfix: just only false to disableSimon Hauser
I knew i will break it with my last commit
2021-07-09feat: cycle prompt history (#521)Simon Hauser
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 :)
2021-07-08Consistent filepath display and code cleanup. (#839)caojoshua
BREAKING CHANGE: see :help telescope.changelog-839 for more information Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-07-03feat: option to `include_extensions` in `builtin` picker (#953)Luke Kershaw
- 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
2021-07-03feat: select_all, toggle_all and drop_all actions (#931)fdschmidt93
2021-07-02feat: `selection_strategy` closest (#885)Tom
* 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
2021-07-02fix: table number option extend (#947)Luke Kershaw
* 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
2021-07-01feat: Consistent and sensible layout_config (#922)TJ DeVries
* 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>
2021-06-27fix: display issues in `:Telescope registers` (#940)Luke Kershaw
* 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
2021-06-14feat: cycle previewers with commit and bcommit already using it (#528)Simon Hauser
- 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>
2021-06-14chore: use plenary.strings and remove strings functions from utils (#690)JINNOUCHI Yasushi
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-06-12fix: ripgrep 13Simon Hauser
2021-06-10feat: add filtering by symbol(s) to lsp_{document,workspace}_symbols (#903)fdschmidt93
2021-06-10feat: improved configuration and sorting of ↵fdschmidt93
lsp_{document,workspace}_diagnostics (#867)
2021-06-09feat: delete entry from the picker without closing telescope (#828)Dhruv Manilawala
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", } } } } } ```
2021-06-09feat: set defaults for each picker in telescope setup (#883)Simon Hauser
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`
2021-06-06docs: update builtin.file_browser options (#887)David Mejorado
2021-06-06fix: search_dirs in builtin.grep_string (#897)the continium
2021-06-03docs: add more builtin.buffers documentation (#888)Gwarnifarn
2021-06-01fix: correctly check output of git worktree command (#882)Jose Alvarez
2021-05-31feat: add prefiltering to treesitter picker (#879)fdschmidt93
2021-05-31feat: send to loclist (#868)runiq
2021-05-30Change the `show_all_buffers` option to true by default for `buffers` picker ↵Ben Smith
(#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>
2021-05-30Add documentation for quickfix actions (#869)runiq
* Add documentation for quickfix actions * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions <actions@github>
2021-05-30fix: attempt to concatenate when entry.kind == nil or or symbol_type == nil ↵Alex Mastro
(#853)
2021-05-26fix: abort picker set_selection if no manager (#866)kaddkaka
2021-05-16fix: string.find() matching for only_cwd option (builtin.buffers) (#849)Damon Timm
`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
2021-05-15feat: add ivy-style layout strategy (#771)TJ DeVries
* feat: add new layout strategy * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions <actions@github>
2021-05-15Reset multi-selection in Picker:refresh() (#830)Tom Praschan
If there's a new finder the multi selection is invalidated, so reset it
2021-05-13Docs for builtin pickers (#783)Ben Smith
2021-05-11fix: prevents flickering when first loading a buffer preview entry (#797)Michał Nowotnik
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.