summaryrefslogtreecommitdiff
path: root/lua/telescope/make_entry.lua
AgeCommit message (Collapse)Author
2022-03-11fix(grep): make filename parser non-greedy (#1785)Tom
To protect against content variation including colon / number combinations
2022-03-10fix: man_pages previewer, respecting MANPATH and apropos output parsing (#1764)Simon Hauser
- introducing putils writer and use it rather than using PAGER env var - introducing env for lua/telescope/_.lua job interface - to respect MANPATH (and PATH just in case) - fix for apropos output parsing might return e.g. `alacritty, Alacritty` We need to split on first `,`
2022-02-14fix: add opts.bufnr and opts.winnr to builtin picker (#1706)James Trew
2022-01-16fix: handle filenames with colons in `live_grep` (#1609)Luke Kershaw
2022-01-14feat: make results pane of builtin `keymaps` more readable (#1684)daangoossens22
2021-12-10feat: migrate to Telescope diagnostics using vim.diagnostic (#1553)Simon Hauser
2021-12-06fix: git stash entry formatting (#1452)Farbod Salamat-Zadeh
2021-12-03fix: regression with grep builtins (#1548)Simon Hauser
2021-12-03fix: check for Windows drive letter when parsing vimgrep (#1494)Luke Kershaw
2021-12-01fix: Remove symbol_msg substitution (#1525)Daniel Kempkens
Because Elixir source code can contain `|`, the removed substitution sometimes broke `lsp_document_symbols()`. Example: ``` E5108: Error executing lua ...packer/start/telescope.nvim/lua/telescope/make_entry.lua:392: attempt to concatenate local 'symbol_name' (a nil value) stack traceback: ...packer/start/telescope.nvim/lua/telescope/make_entry.lua:392: in function 'entry_maker' ...scope.nvim/lua/telescope/finders/async_static_finder.lua:17: in function 'new_table' ...acker/start/telescope.nvim/lua/telescope/builtin/lsp.lua:137: in function 'v' ...acker/start/telescope.nvim/lua/telescope/builtin/lsp.lua:500: in function 'v' ...cker/start/telescope.nvim/lua/telescope/builtin/init.lua:496: in function <...cker/start/telescope.nvim/lua/telescope/builtin/init.lua:467> ...ck/packer/start/telescope.nvim/lua/telescope/command.lua:179: in function 'run_command' ...ck/packer/start/telescope.nvim/lua/telescope/command.lua:241: in function 'load_command' [string ":lua"]:1: in main chunk ``` Closes #874
2021-11-27feat: extend functionality of `entry_display.create` (#1408)Luke Kershaw
* feat: extend functionality of `entry_display.create` - now allows passing functions or fractional values to `width` option * refactor: cache `width` instead of results window size * feat: use new `width` functionality for more entry makers
2021-10-19fix(tags): wrong path separator on Windows (#1354)x1314aq
the universal-ctags generates tag file in Unix path separator even on Windows platform, this PR fix this.
2021-09-26fix: tags now also support suppercollider tags (#1284)Simon Hauser
2021-09-19feat: `truncate` option for `path_display` (#1254)Luke Kershaw
2021-09-16docs: rewrite readme and add missing config values + builtin optsSimon Hauser
2021-09-10fix: stale lnum in buffer previewer (#1229)fdschmidt93
* fix: lnum to jump to might be stale eg when resuming buffer picker after changes
2021-09-10fix: jump to tag if buffer has unsaved changes (#1230)Simon Hauser
2021-09-01feat: allow caching and resuming picker (#1051)fdschmidt93
* expose `cache_picker` in telescope.setup to configure caching, see `:h telescope.defaults.cache_picker` * add builtin.resume and builtin.pickers picker
2021-07-23chore: use stylua for formatting (#1040)Simon Hauser
* chore: stylua job and config * reformat with stylua
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-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-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-10feat: improved configuration and sorting of ↵fdschmidt93
lsp_{document,workspace}_diagnostics (#867)
2021-05-30fix: attempt to concatenate when entry.kind == nil or or symbol_type == nil ↵Alex Mastro
(#853)
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 option to configure width of items in gen_from_lsp_symbols() (#812)Tom Praschan
2021-05-08feat: Add only_sort_tags option for builtin.tags (#825)Eugene Oliveros
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-09feat: add icons to git_status finder (#401)Senghan Bright
* add icons to git_status finder * fix lint warning * fix incorrect removed icon * refactor, more states/icons * refactor, widen columns to allow for 3char width icons * attempted col width fix * fixup: small comments Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2021-04-09fix: update to newer code (#744)TJ DeVries
2021-04-07fix: Use standardized names for current buffer fuzzy find (#737)TJ DeVries
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-03-04fix: error from unset LspDiagnosticSign & introduce opts.no_sign to ↵fdschmidt93
lsp_*_diagnostics (#607)
2021-03-04feat: workspace diagnostics, jump to and improved styling (#599)fdschmidt93
Changes: `Telescope lsp_diagnostics` is now `Telescope lsp_document_diagnostics` New: `Telescope lsp_workspace_diagnostics` Co-authored-by: Fabian David Schmidt <fabian.david.schmidt@hotmail.com> Co-authored-by: elianiva <dicha.arkana03@gmail.com>
2021-03-03feat: lsp diagnostics and prefiltering by entry attribute (#543)fdschmidt93
prefiltering for lsp_document_symbols and lsp_workspace_symbols. example: type `:var:` to show all vars
2021-03-01refactor: move transform_devicons and get_devicons to utils (#580)ndavid
So extension developers can access them
2021-02-12fix: git_commits when a commit has no message (#529)Danilo Luvizotto
2021-02-09fix: all git builtin respect cwd now (#517)Simon Hauser
2021-02-08feat: show all sections in man_pages (#512)JINNOUCHI Yasushi
:Telescope sections=ALL
2021-02-02feat: add sections opt for man_pages and fix for macos (#413)JINNOUCHI Yasushi
:Telescope man_pages sections=3 will only show man pages from section 3 :Telescope man_pages sections=1,2,3 will show man pages from section 1, 2 and 3
2021-01-31fix: Multi byte truncate for displayer (#464)JINNOUCHI Yasushi
This is needed for calling strdisplaywidth() from Lua loop. See https://github.com/nvim-telescope/telescope.nvim/issues/414 See https://github.com/neovim/neovim/blob/a1ed941a7881122fda2fd48e71e890ed55e4d08e/src/nvim/eval/funcs.c#L9845-L9858 Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-01-11feat: only_search_text (#419)TJ DeVries
2021-01-04feat: Add highlight to builtin.git_status (#388)Cedric M'Passi