1028 Commits

Author SHA1 Message Date
Chinmay Dalal 0011b1148d fix: add offset encoding to vim.lsp.util.locations_to_items() call (#1694) 2022-01-18 08:10:15 +01:00
Richard Mathieson 2cb7e11cc1 fix: add offset encoding to apply_workspace_edit call (#1697) 2022-01-18 08:07:29 +01:00
zeertzjq 76c23d7375 feat: show a message for unknown command (#1698) 2022-01-18 07:46:10 +01:00
Luke Kershaw 1ec682b29d fix: always update preview when _selection_entry changes (#1693) 2022-01-18 07:45:03 +01:00
Luke Kershaw c1b9dab300 fix: handle filenames with colons in live_grep (#1609) 2022-01-16 16:54:51 +01:00
Luke Kershaw 2bfc0eb2cf fix: update multi_icon with select/drop/toggle_all actions (#1682)
* fix: `multi_icon` with `select/drop/toggle_all`

* typos

* fix: add check for no caret found

* fix: add check for no line found

* fix: check `max_results` in `Picker:can_select_row`

- also switch order of highlighting in `select/drop/toggle_all` actions

* fix: make `max_results` check a strict inequality

* [docgen] Update doc/telescope.txt
skip-checks: true

* fix: update `prompt_status` on `select/drop/toggle_all` actions

Co-authored-by: Github Actions <actions@github>
2022-01-15 22:27:03 +00:00
Ariel 860cc65663 docs: remove file browser (#1691) 2022-01-15 10:50:30 +01:00
daangoossens22 d173740bb4 feat: make results pane of builtin keymaps more readable (#1684) 2022-01-14 21:13:32 +01:00
Simon Hauser 303f3ca6f7 chore: remove deprecated shorthand functions lsp_*_diagnostics
From now on use Telescope diagnostics.
For more informations see `:help telescope.changelog-1553` and
`:help builtin.diagnostics`
2022-01-14 20:58:40 +01:00
Simon Hauser 136d1b36bd fix(health): check fdfind before fd to fix weird output on ubuntu
fix #1425
2022-01-14 20:54:17 +01:00
Luke Kershaw e8ccd47c4f feat: adds multiselect counter in prompt status_text (#1614) 2022-01-14 18:02:24 +01:00
Chinmay Dalal 3bf4d4b4d0 fix (nightly): add offset encoding to vim.lsp.util.jump_to_location() call (#1688) 2022-01-14 16:54:23 +01:00
fdschmidt93 015a35626d break!: remove file_browser from builtins (#1453)
The file_browser now has been fully removed.

Please move to github.com/nvim-telescope/telescope-file-browser.nvim
for a more featureful extension that replaces the builtin file browser.
2022-01-11 22:00:31 +01:00
Simon Hauser c54fc1733e Revert "fix: folding when a file is opened (#1643)" (#1673)
This reverts commit 01426c491b.
2022-01-09 21:18:15 +01:00
Julian Fricker 5060f3f0ab feat: tiebreak config function (#1401)
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-01-09 19:43:06 +01:00
Simon Hauser e8ef88bfcb fix(builtin.treesitter): make sure that kind is not nil
If kind is nil then prefilter throws an error
fix #1631
2022-01-09 19:03:53 +01:00
Abel Mulugeta 01426c491b fix: folding when a file is opened (#1643)
* fix: folding after a file is opened

fixes #559

* fix: wrap nvim_win_set_cursor in autocmd

* chore: Cleanup folding fix

* explain the reason behind the autocmd

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-01-09 18:49:19 +01:00
Ole Strøhm 24046b2361 fix: documentation for lsp_range_code_actions (#1644) 2022-01-09 18:47:19 +01:00
Luke Kershaw 1bb5d5567f fix: allow which_key action without preview (#1668) 2022-01-09 18:40:40 +01:00
pedro757 f06dd06bb1 fix: support find_command along with shorthand options (#1642) 2022-01-06 22:45:09 +01:00
Luke Kershaw 948f5adff2 fix: allow selection_caret to be entirely whitespace (#1660) 2022-01-06 13:44:39 +00:00
Luke Kershaw f285599440 feat: multiselect icon (#1572)
* feat: add `multi_icon` option to pickers and corresponding highlight

* feat: allow `multi_icon` to be any length

* fix: adjust `selection_caret` highlighting
2022-01-05 22:42:29 +00:00
Dave G 749ce3b8ca feat: Add <C-w> to default mappings (#1650)
As described in https://github.com/nvim-telescope/telescope.nvim/issues/1579, this adds <C-w> to the default mappings.
2022-01-05 23:36:41 +01:00
Luke Kershaw c5aad43558 fix: check if status.preview_bufnr is nil before checking if valid (#1657) 2022-01-05 21:06:14 +00:00
Sebastian Lyng Johansen a01ebd2793 fix: picker for keymaps error with new api for keymaps (#1646) 2022-01-03 08:41:39 +01:00
fdschmidt93 1d1da664eb chore: deprecation notice for builtin.file_browser (#1574)
`builtin.file_browser` will be removed in favor of `telescope-file-browser.nvim`.
Primary rationale for carving out the file browser to an extension:
- Faster development
- Very expansive picker with larger feature set than builtins
2021-12-29 13:10:40 +01:00
fdschmidt93 9d0034df79 fix: return extension exports on load (#1634) 2021-12-28 12:37:21 +01:00
fdschmidt93 99aa102b38 fix: setup extension on access as well (#1628) 2021-12-27 18:32:47 +01:00
fdschmidt93 3dafcb419b fix: too early setup on initial extension access (#1601) 2021-12-27 17:55:43 +01:00
Simon Hauser 88437804e1 chore: remove dot at the beginning (#1552)
We added this for rg 13.0 release because it was needed but it doesnt
seem to be needed anymore. Weird

This might be due to some changes in neovim or due to changes to jobs
2021-12-27 09:51:41 +01:00
Simon Hauser 802fe5d49e fix: transform_path nil input (#1576) 2021-12-27 09:49:07 +01:00
kylo252 a1f838d436 chore: remove redundant run_builtin action (#1589) 2021-12-27 09:48:34 +01:00
fdschmidt93 627d89c959 fix(oneshot_finder): generate entries for passed result (#1602) 2021-12-27 09:45:34 +01:00
Christian Clason 7ebc27d818 fix(actions): force insertmode after inserting symbol (#1618)
required after upstream changes to prompt buffer behavior
(see
 https://github.com/neovim/neovim/commit/28134f4e78819c2bbf0344326b9d44f21eb0d736)

Fixes #1608
2021-12-27 09:40:37 +01:00
fdschmidt93 ebd2eb0337 feat(diagnostics): workspace or document in title (#1619) 2021-12-27 09:39:41 +01:00
August Masquelier 1849a8d701 fix(sorters): Ensure 'cb_filter' defined when creating new index-bias sorter (#1624) 2021-12-27 09:39:02 +01:00
Luke Kershaw 9aaaa0c5f3 fix: builtin only have entries for extension functions (#1587)
* fix: `builtin` only have entries for extension functions

* fix: add check for underscore and explanation of which functions included
2021-12-19 17:55:50 +00:00
Luke Kershaw 5f37fbfa83 feat: layout anchor (#1582)
* feat: add `anchor` option to some `layout_strategies`

* tests: improve tests for `resolve_height/width`
2021-12-10 19:08:24 +00:00
Simon Hauser 5e5351ef13 docs: README change lsp_*_diagnostics to diagnostics 2021-12-10 18:02:39 +01:00
Simon Hauser 56325fefb2 feat: migrate to Telescope diagnostics using vim.diagnostic (#1553) 2021-12-10 17:49:06 +01:00
Simon Hauser 61240ac75a break: bump the minimum required neovim version to 0.6 or higher (#1549)
So we can use `vim.json` and `vim.diagnostics`.

If you aren't able to update to 0.6.* yet you should pin the previous commit.
2021-12-10 16:32:28 +01:00
Luke Kershaw 80cdb00b22 feat: center layout mirror option (#1577) nvim-0.5.1 2021-12-10 11:48:14 +01:00
smhc 991d0127f0 fix: previewer for builtin.builtin (#1583) 2021-12-10 11:44:50 +01:00
Jieru Mei 3f4ee6f267 fix: which_key action foldenable=false by default (#1578) 2021-12-10 09:55:24 +01:00
Luke Kershaw 914da77bb7 fix: bottom_pane remove results border next to prompt (#1563) 2021-12-08 18:28:55 +00:00
Farbod Salamat-Zadeh 6b1579741a fix: git stash entry formatting (#1452) 2021-12-06 21:20:37 +01:00
Richard Lu a20f01353b fix: ensure buffer is listed before edit_buffer (#1492) 2021-12-06 21:13:24 +01:00
GenesisTMS a88d92417d typo: which_key (#1560) 2021-12-06 21:12:42 +01:00
h0adp0re 82e3cc322a fix: current_buffer_fuzzy_find in vue files (#1561) 2021-12-06 15:17:58 +01:00
Jun 182c43b9d1 fix: lsp concatenate err (#1558) 2021-12-05 16:25:49 +01:00