summaryrefslogtreecommitdiff
path: root/lua/telescope/builtin
AgeCommit message (Collapse)Author
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-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-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-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: 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-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-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-13Docs for builtin pickers (#783)Ben Smith
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-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-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-08fix: oldfiles cwd_only that include backslashes (windows) (#820)Luke Kershaw
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: 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-23feat: add search history picker (#769)Volodymyr Kot
Co-authored-by: Volodymyr Kot <vkot@palantir.com>
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-15feat: table layout for builtin commands (#754)Weihang Lo
2021-04-14picker(live_grep): add option to grep only over open files (#666)James Walmsley
2021-04-14git(action): create and checkout branch (#755)Ben Smith
* added git action for creating and checking out a new branch, added basic docstrings for git actions * Added confirmation for creation of new branch, changed default mapping to <c-u> * Switched back to `<c-a>` default mapping for now
2021-04-13added a new DynamicFinder (which can be used with rust_analyzer) (#705)oberblastmeister
* started tree finder * made tree more ergonmic * deleted unneeded comments * added stack root and node * added preprocessing * using staticfinder instead of separate finder, custom entry maker * added selections and remember * removed unused stuff * fixed warnings * fixed remember and selections pop * started branch * added go function * changed up test * removed root parameter from go function * changed back to not do_close * removed node and leaf classes * removed stack class instead for table.insert and table.remove * fixed warning * started branch * added better preprocessor and tree class * started some tests * finished making tests pass * cleaned up * fixed make entry and updated example * started * added some stuff * deleted uneeded stuff * added cancelable * changed workspace requester * use better cancellation mechanism * removed accidental stuff * removed useless print * delete more useless stuff * rename to dynamic * added request cancellation * CHECK IF NIL * removed unused * added trash global variable
2021-04-09fix: update to newer code (#744)TJ DeVries
2021-04-09pickers(buffers): added only_cwd opt (#739)Nitin Chaudhary
closes #733 Co-authored-by: Nitin Chaudhary <nitin.chaudhary@sap.com>
2021-04-08feat: asyncify pickers - except for live_grep (#709)TJ DeVries
* 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
2021-04-07fix: Use standardized names for current buffer fuzzy find (#737)TJ DeVries
2021-04-07fix(git_branches): use the quoted fields instead of json-formatting and fix ↵Kyoichiro Yamada
regressions with #695 (#704)
2021-04-06feat: buf highlights for current buffer fuzzy find (#732)TJ DeVries
* feat: Add buffer highlights from treesitter * fix: Handle not having tree sitter in some buffers * fixup * fixup * fixup: move back to old node
2021-04-04feat: current buffer fuzzy find improvements (#694)August Masquelier
If you don't want to have a previewer disable it with `:Telescope current_buffer_fuzzy_find previewer=false` To ignore empty lines do: `:Telescope current_buffer_fuzzy_find skip_empty_lines=true`
2021-04-03Fix #707: lsp_workspace_symbols add support for multiple clients. (#718)ovikk13
2021-03-31fix: better relative path output in `live_grep` and `grep_string` (#683)Jesse Leite
2021-03-30fix: no longer leaking one buffer previewer in some occasions (#664)Simon Hauser
* 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
2021-03-29picker(git_branch): show committer, upstream and date (#695)Kyoichiro Yamada
* wip: rich finder for branches for: https://github.com/nvim-telescope/telescope.nvim/issues/569 * fix some diagnostics