summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
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.
2021-05-11fix: add git_stash field to builitn (#836)saadparwaiz1
PR #800 add git_stash picker. However, it's not added as a field in builtin.
2021-05-11fix: rename `actions.git_switch` to `git_switch_branch` (#835)Kyoichiro Yamada
2021-05-11create new action: git switch (#798)Kyoichiro Yamada
* create new action: git switch If the branch already exists in local, switch to that. If the branch is only in remote, create new branch tracking remote and switch to new one. * fix a point of review * fix a point of review: map to git-switch action * Revert "fix a point of review" This reverts commit 017ce424a3adfe1b3712a421385cfc3f4258a0fb. * undocument header comment
2021-05-11feat: add git_stash picker (#800)Amirreza Askarpour
2021-05-09fix: add check for nil win_id in Picker.close_windows (#831)Luke Kershaw
This probably fixes issues with nobuflisted buffers (startify, dashboard-nvim and probably more)
2021-05-09feat: jumplist picker and jump to row/col on existing buffers. (#813)caojoshua
2021-05-08feat: add use_regex option to grep_string (#767)Khalid
2021-05-08feat: add option to configure width of items in gen_from_lsp_symbols() (#812)Tom Praschan
2021-05-08fix: oldfiles cwd_only that include backslashes (windows) (#820)Luke Kershaw
2021-05-08feat: Add only_sort_tags option for builtin.tags (#825)Eugene Oliveros
2021-05-06handle errors from buf_request_sync (#819)William Boman
2021-04-28fix: file browser navigate to parent directory on windows (#786)Alex Fischer
2021-04-28fix: Fix things for conniTJ DeVries
2021-04-28fix: use treesitter language name instead of ft if available (#801)Dhruv Manilawala
* fix: use treesitter language name if available This will fix the problem where the filetype is different than the treesitter lang name. Eg., filetyep -> "sh", langname -> "bash" * refactor: use treesitter only if the query object is available * refactor: ok -> parser_ok ;)
2021-04-23docs: Git actions docs fix (#787)Ben Smith
* Removed function headers for git actions * [docgen] Update doc/telescope.txt skip-checks: true * [docgen] Update doc/telescope.txt skip-checks: true * Added TODO & comments instead of removing headers * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions <actions@github>
2021-04-23feat: add search history picker (#769)Volodymyr Kot
Co-authored-by: Volodymyr Kot <vkot@palantir.com>
2021-04-22feat: allow reset prompt to set text as wellTJ DeVries
2021-04-22docs: add other actions modules (#792)TJ DeVries
* docs: add other actions modules * [docgen] Update doc/telescope.txt skip-checks: true * fixup * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions <actions@github>
2021-04-22fix checking for git dir in a bare repo (#757)PolarMutex
* fix checking for git dir in a bare repo * revert last change and look for worktree * fix lint error * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Brian Ryall <brian.ryall@udri.udayton.edu> Co-authored-by: Github Actions <actions@github>
2021-04-20fix: support multiple clients in lsp code actions (#722)William Boman
* fix: support multiple clients in lsp code actions * no goto * reduce diff a bit * use displayer, also include lsp client name for each entry * review comments
2021-04-20lsp: Implement lsp.implementations similar to lsp.definitions (#743)Viktor Kojouharov
Fixes #730
2021-04-17fix: live_grep path appending with cwd when already absolute (#768)August Masquelier
2021-04-16fix: Default to an empty sorter, so we always have oneTJ DeVries
2021-04-15Fix: open files with the same name (#697) (#741)Lars Haalck
* Fix: open files with the same name (#697) * Fix: fire vim.cmd if command is not edit (#760)
2021-04-15feat: table layout for builtin commands (#754)Weihang Lo