fdschmidt93
45051df61b
fix: loclist can have non current buf entries ( #1333 )
2021-10-12 14:42:41 +02:00
Zachary Churchill
3f45d64e9c
feat: add gg and G to default mappings ( #1325 )
...
* feat: add `gg` and `G` to default mappings
* refactor: use action_state.get_current_picker
* docs: mention new default gg/G keymaps
2021-10-11 18:14:23 +02:00
Jean-Luc Bastarache
59f5873199
fix: highlighting when color_devicons=false ( #1328 )
2021-10-11 18:00:28 +02:00
Patrick Ziegler
ba41f0eeb1
fix: alias cwd_only and only_cwd option for buffers and oldfiles ( #1316 )
...
* Alias cwd_only and only_cwd option for builtins
Fixes #1199
Closes #1275
2021-10-09 15:40:08 +02:00
Simon Hauser
603f55dedf
fix: processed count to exclude entries that got ignored in make_entry ( #1323 )
...
It doesnt make sense to count these. Most likely they were never shown.
Example: `man_pages` excludes pages from different sections. So you
filter for man pages and end up with like 5 entries and the counter
still says 1000. Not a good experience.
2021-10-09 15:34:22 +02:00
Jakub Łuczyński
917500dbe9
fix: check also fdfind in healthcheck ( #1318 )
...
Support different binary names when checking if fd is installed.
2021-10-09 15:34:08 +02:00
Simon Hauser
50e45f86d9
fix: scroll_strategy limit + sorting_strategy descending ( #1322 )
2021-10-09 15:23:18 +02:00
koopa1338
2dc75704b7
fix: scroll_strategy limit ( #1320 )
2021-10-09 09:06:52 +02:00
TJ DeVries
dea927d0eb
feat: Add scrolling through results ( #1232 )
...
* some scrollin
* [WIP]: Fri 10 Sep 2021 02:24:20 PM EDT
* ok, I think scrolling works
* change to 1000 for now, dont need to scroll that far :)
2021-10-08 10:56:01 -04:00
Simon Hauser
ec6c13fc09
fix: code action for rust analyzer ( #1311 )
2021-10-07 13:49:14 +02:00
Javier Lopez
d1e9655d90
fix(healthcheck): migrate to new lua pattern ( #1310 )
2021-10-06 17:17:17 +02:00
fdschmidt93
ec48777990
fix: stacking highlights in buffer previewer ( #1294 )
2021-10-04 22:35:22 +02:00
Luke Kershaw
be600b5421
feat: more prompt position strategies ( #1280 )
...
* feat: allow `prompt_position` for `vertical` layout strategy
* feat: allow `prompt_position` for `bottom_pane` layout strategy
* stylua
* [docgen] Update doc/telescope.txt
skip-checks: true
* refactor: switch to `string.format`
* stylua
* feat: allow `prompt_position` for `center` layout strategy
* feat: handle user defined `prompt_position` within themes
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: tweak `center` layout
- ensure `prompt` title is visible when `prompt_position="bottom"`
* fix: refactor `center` tweak
- move title to bottom of picker when `prompt_position="bottom"`
* fix: tweak `bottom_pane` layout
* stylua
Co-authored-by: Github Actions <actions@github>
2021-10-04 21:16:58 +02:00
fdschmidt93
440c598de4
fix: which key float positioning ( #1293 )
...
* Adjust which key float positioning for recent plenary and telescope theme changes
2021-09-30 15:53:06 +02:00
Jonas Strittmatter
4e629cdea1
fix: show error message when nothing is selected ( #1289 )
...
* fix: always show error message when nothing is selected
This continues the fixes done in 4816a27d76 (ref #1283 )
* Use correct variable name (selection) and add one more nil check
* Fix indentation
2021-09-27 20:45:27 +01:00
fdschmidt93
a6c7498bdc
feat: filetype_hook & improved docs; fix preview partial override ( #1273 )
2021-09-27 15:24:35 +02:00
Sávio Carlos Martins Costa
87471bc3ff
feat: add highlight group: TelescopePreviewMessage ( #1286 )
...
* feat: add highlight group: TelescopePreviewMessage
* fix indentation from 4 to 2 spaces
2021-09-27 11:59:05 +02:00
Simon Hauser
4816a27d76
fix: print error mesage and dont close telescope if nothing is selected ( #1285 )
2021-09-26 12:59:24 +02:00
Simon Hauser
41f362006b
fix: tags now also support suppercollider tags ( #1284 )
2021-09-26 12:56:06 +02:00
Rafael A. Madriz
f6480b0ecb
fix: help_tags if file_ignore_patterns = { "doc" } is set ( #1279 )
2021-09-22 18:07:48 +02:00
Jose Alvarez
a005e58a48
fix(lsp): check if action.command.arguments is nil ( #1274 )
2021-09-22 08:37:45 +02:00
tami5
60660334c7
feat(defaults): enable customization of path_display.truncate ( #1264 )
...
followup to https://github.com/nvim-telescope/telescope.nvim/pull/1254
and implementation of
https://github.com/nvim-telescope/telescope.nvim/pull/1254#issuecomment-922527270
2021-09-20 12:52:59 +03:00
Luke Kershaw
f0db7d3a59
feat: truncate option for path_display ( #1254 )
2021-09-19 20:38:00 +02:00
Luke Kershaw
e53cf55225
fix: update themes after layout_strategies refactor ( #1262 )
2021-09-19 20:36:54 +02:00
Luke Kershaw
007b6e3061
fix: adjust layout positioning for new indexing ( #1260 )
2021-09-19 17:23:37 +01:00
TheLeoP
02bc88e6d6
fix: pickers use entry.filename as default and fallback to entry.value for file_ignore_patterns ( #1243 )
2021-09-19 17:38:44 +02:00
Luke Kershaw
37c9ab6688
feat: layout_strategies refactor ( #1039 )
...
* wip: 2021-07-22 15:00 BST
* wip: `horizontal` refactored
* wip: `center` refactored
* wip: `cursor` and `vertical` refactored
* wip: `current_buffer` refactor
- also changed `layout_config_defaults` as they gave errors when using `current_buffer`
* wip: `bottom_pane` refactor
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: put accidentally remove config option back
* [docgen] Update doc/telescope.txt
skip-checks: true
* wip: standardise `height` calculation for `center` and `bottom_pane`
* wip: improve comments
* [docgen] Update doc/telescope.txt
skip-checks: true
* stylua
- also fix a merge mistake
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: attempt to fix bad merge
* refactor: remove unused entry in `borderchars` table
- also fix some typos
* wip: tweak padding for `bottom_pane`
* wip: add `tabline` checks to `bottom_pane`
- also tweaked position so that `statusline` is not covered when borders are enabled
* stylua
* refactor: factor out size capping function
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: adjust tests that relied on height being number of results
* fix: forgot variable in calc_size_and_spacing
* fix: maybe this fixes these tests?
* test: try other plenary branch for ci
* test: switch back to main plenary branch for ci
* fix: actually define `max_results` in the test
* fix: final tweaks for edge cases
Co-authored-by: Github Actions <actions@github>
2021-09-19 09:30:25 +01:00
Javier Lopez
ca05f8955c
fix(builtin): internal.help_tags not finding all tags ( #1258 )
...
After changes on &rtp in neovim/neovim it's neccessary to use
`nvim_get_runtime_file` to actually find all the runtime files.
2021-09-19 10:26:00 +02:00
fdschmidt93
2e7584f1cf
fix: stacked hooks in buffer previewer ( #1253 )
2021-09-17 20:02:56 +02:00
fdschmidt93
5a020a8859
fix: fallback to syntax hl if treesitter fails ( #1249 )
2021-09-17 00:07:54 +02:00
fdschmidt93
7c5b846f6f
feat: skip/timeout preview if file cannot be easily previewed ( #1231 )
...
* 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-16 23:01:40 +02:00
gavynriebau
ac03f495c6
fix: wrap vim.cmd in pcall to avoid error ( #1247 )
...
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-16 12:02:24 +02:00
Anthony Nichols
5f0ccf1346
feat: support <pattern> for git-for-each-ref (git_branches) ( #1248 )
2021-09-16 11:58:59 +02:00
Simon Hauser
5131df7df1
docs: rewrite readme and add missing config values + builtin opts
2021-09-16 11:12:12 +02:00
Matsu
aaffa84ebb
feat: Remove version field if zero from codeaction calls ( #738 )
...
should fix code actions for jdtls
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com >
2021-09-15 18:31:51 +02:00
Simon Hauser
4380e453ca
fix: default make_entry ( #1239 )
...
from_string doesnt exist. Its called gen_from_string
2021-09-13 21:49:13 +02:00
fdschmidt93
29997233bc
fix: make qf commands possible from any picker ( #1237 )
...
* Allow any qf cmd by defaulting to {lnum=1, col=1} for qflist if values are unset
2021-09-13 18:30:14 +02:00
qualious
1d17cc4abc
feat: smart path ( #914 )
...
path_display = { "smart" }
Co-authored-by: Deniz <deniz@admentum.se >
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2021-09-12 21:14:00 +02:00
Chase Colman
978366ba46
fix: add no more flags delimiter for ripgrep ( #1217 )
...
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-12 11:37:04 +02:00
Rodrigodd
d022ccaf11
feat: lsp type definitions ( #1224 )
2021-09-12 11:36:28 +02:00
Senghan Bright
9d847e7904
feat: checkhealth ( #1066 )
...
* 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-10 12:33:09 -04:00
fdschmidt93
1c35ea319e
fix: stale lnum in buffer previewer ( #1229 )
...
* fix: lnum to jump to might be stale eg when resuming buffer picker after changes
2021-09-10 13:21:04 +02:00
thibthib18
b4d6eb9a23
feat: git merge branch action ( #1220 )
2021-09-10 08:50:58 +02:00
Simon Hauser
d2b768983c
fix: jump to tag if buffer has unsaved changes ( #1230 )
2021-09-10 08:48:41 +02:00
fdschmidt93
55ec6c5c9c
fix: restoring picker table/function opts ( #1205 )
...
* fix: missing opts for cached picker creation
* fix: make properly overridable
2021-09-09 22:13:16 +02:00
Dhruv Manilawala
0cb1026b9e
perf: load builtin submodules when a picker is invoked ( #1191 )
...
* Defer requiring submodules to when a builtin picker is actually invoked
2021-09-09 17:28:25 +02:00
Dheepak Krishnamurthy
288f243387
Add word to prompt title for grep string ( #1184 )
2021-09-09 09:43:59 -04:00
August Masquelier
12a44ededa
fix(actions_generate.which_key): overriding opts ( #1221 )
...
* Fix error from type mismatch on repeated calls of `action.which_key` when instantiated by `actions.generate`
2021-09-07 17:29:57 +02:00
TJ DeVries
162cf7b534
fix(lsp): Handle new signature for lsp handlers
2021-09-05 21:07:41 -04:00
fdschmidt93
ac42f0c26c
fix: clear buffer previewer fully for caching ( #1201 )
2021-09-02 16:36:08 +02:00