summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2021-09-16feat: skip/timeout preview if file cannot be easily previewed (#1231)fdschmidt93
* 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
2021-09-16fix: wrap vim.cmd in pcall to avoid error (#1247)gavynriebau
When opening a file under swap from the "fd" finder results an error was printed after the file was opened, wrapping the call to "vim.cmd" in a pcall avoids the error.
2021-09-16feat: support <pattern> for git-for-each-ref (git_branches) (#1248)Anthony Nichols
2021-09-16docs: rewrite readme and add missing config values + builtin optsSimon Hauser
2021-09-15feat: Remove version field if zero from codeaction calls (#738)Matsu
should fix code actions for jdtls Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2021-09-13fix: default make_entry (#1239)Simon Hauser
from_string doesnt exist. Its called gen_from_string
2021-09-13fix: make qf commands possible from any picker (#1237)fdschmidt93
* Allow any qf cmd by defaulting to {lnum=1, col=1} for qflist if values are unset
2021-09-12feat: smart path (#914)qualious
path_display = { "smart" } Co-authored-by: Deniz <deniz@admentum.se> Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-09-12fix: add no more flags delimiter for ripgrep (#1217)Chase Colman
This matches the behavior of fzf, if a user needs to pass additional arguments they can use additional_args or change vimgrep_arguments.
2021-09-12feat: lsp type definitions (#1224)Rodrigodd
2021-09-10feat: checkhealth (#1066)Senghan Bright
* rebase on latest master * remove obsolete `popup.nvim` check * fixup: Move to health and fixups Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
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-10feat: git merge branch action (#1220)thibthib18
2021-09-10fix: jump to tag if buffer has unsaved changes (#1230)Simon Hauser
2021-09-09fix: restoring picker table/function opts (#1205)fdschmidt93
* fix: missing opts for cached picker creation * fix: make properly overridable
2021-09-09perf: load builtin submodules when a picker is invoked (#1191)Dhruv Manilawala
* Defer requiring submodules to when a builtin picker is actually invoked
2021-09-09Add word to prompt title for grep string (#1184)Dheepak Krishnamurthy
2021-09-07fix(actions_generate.which_key): overriding opts (#1221)August Masquelier
* Fix error from type mismatch on repeated calls of `action.which_key` when instantiated by `actions.generate`
2021-09-05fix(lsp): Handle new signature for lsp handlersTJ DeVries
2021-09-02fix: clear buffer previewer fully for caching (#1201)fdschmidt93
2021-09-02fix(picker): incorrect git stash picker command (#1195)Phelipe
* fix: should not use git log command in git stash picker * Update lua/telescope/builtin/git.lua Co-authored-by: tami5 <65782666+tami5@users.noreply.github.com>
2021-09-01fix: string `display` for builtin.pickers (#1194)fdschmidt93
2021-09-01feat: show keymaps for builtin actions (#1084)fdschmidt93
* Add default mappings `<C-/>`and `?` for insert and normal mode, respectively, to show registered keymappings (`actions.which_key`) attached to prompt buffer
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-09-01fix(pickers): initial normal mode (#1165)fdschmidt93
fix(pickers): opts.default_text and cursor are now correctly set for opts.initial_mode="normal"
2021-09-01doc: generate docgenSimon Hauser
i forgot it. My bad
2021-09-01feat: add utility for fetching buffer directory (#902)Logan Connolly
2021-09-01fix: Should not block on git commands (#1176)TJ DeVries
2021-09-01fix: autocommands cursor outside of buffer (#1157)Omar Zeghouani
Closes #957
2021-08-26fix: Fix line endings for windows (#1169)TJ DeVries
2021-08-25fix(ts-highlighting): get hl name from the capture (#1166)Dhruv Manilawala
After this commit (https://github.com/neovim/neovim/commit/2460f0a7028550ea2d87492a4e8b95914fdba7b1), the `hl_cache` variable stores the hl_ID instead of the group name. Another way to get the hl name which is adopted from the method used here `_get_hl_from_capture`: ```lua local hl = vim.treesitter.highlighter.hl_map[query.captures[id]] ``` But, as the method covers another case, we can directly use it. I've also added the type guard so that, in the future, it does not explode like it does now. fixes: #1151
2021-08-23fix: safer teardown of buffer previewer (#1158)fdschmidt93
2021-08-23fix(pickers): attach_mappings on builtins.buffers needs return (#1155)Aiden Scandella
2021-08-23fix: (terminal) buffer previewer (#1120)fdschmidt93
Use existing buffers for buffer previewer to allow previewing special buffer types
2021-08-23refactor(pickers): remove additional fileopen (#1154)tami5
unfinished work from #1122
2021-08-23pickers(*): Add support for &tags (#1122)Emilia Simmons
2021-08-21hotfix: should have been there but wasntSimon Hauser
ref: https://github.com/nvim-telescope/telescope.nvim/issues/1145#issuecomment-903161099
2021-08-21fix: for default sorters so we dont sort data after ordinal len if #prompt ↵Simon Hauser
== 0 (#1146)
2021-08-21fix(pickers): config mappings (#1147)Simon Hauser
This happens because we removed our packed deepcopy. So i refactored this part to not do a deepcopy
2021-08-21fix: some improvements for telescope.symbols if run in insert mode (#1117)Simon Hauser
- keep insert if run in insert mode - also look in `.local/share/nvim/telescope/symbols/*.json` for symbols can be overriden with `symbol_path`
2021-08-21fix(command_parser): pcall for the loadstring (#1134)Luke Kershaw
2021-08-20fix: Close async oneshot jobs on finder:close (#1140)TJ DeVries
2021-08-20startup: load once and only when called for devicons (#1139)TJ DeVries
2021-08-20feat: Use nvim_buf_set_extmark right_align to do the magic for us (#1138)TJ DeVries
2021-08-20fix(sorters): fix sorters running after destroy, which can segfault (#1137)TJ DeVries
* fix(sorters): fix sorters running after destroy, which can segfault * fixup: Only check when we've set a status
2021-08-20mapping: Remove center action after select_default action in default ↵Joshua Cao
mappings. (#974)
2021-08-20feat(performance): Major performance improvements using async v2 from ↵TJ DeVries
@oberblastmeister (#987) * start: Working w/ async jobs * short circuit to using bad finder if you pass writer.
2021-08-19fix(command parser): evaluate valid lua expressions (#1128)Luke Kershaw
2021-08-19Allow range parameters on command parser (#1123)Jan Steinke
2021-08-19fix(command parser): discard invalid lua expressions (#1124)Luke Kershaw