cristiansofronie
3f1b57908b
fix: correctly restore cursor position in original window ( #2336 )
2023-05-24 14:04:27 +02:00
Simon Hauser
066bda8ea4
feat!: allow full height, width by resolving 1 as a percentage rather than absolute val ( #2525 )
...
this is technically a breaking change but i doubt anyone uses height/width 1 (absolute value). It makes more sense to treat 1 as 100%
2023-05-24 12:27:19 +02:00
Akin
80eefd8ff0
feat(buffer_previewer): pass file details in TelescopePreviewLoaded autocmd ( #2429 )
2023-05-24 11:56:49 +02:00
James Trew
c8b65238e8
fix: previewers & entry maker file encoding ( #2430 )
2023-05-24 11:49:38 +02:00
Andrii Berezhynskyi
18b7479542
feat: add user autocmd TelescopeResumePost ( #2433 )
2023-05-24 11:41:59 +02:00
William Henrotin
9f501680e5
feat: find git root from current buffer ( #2435 )
2023-05-24 11:36:37 +02:00
Stef
0b891ec934
fix: always add index to entry ( #2442 )
...
59497d6 introduced `sorters.fuzzy_with_index_bias`, which gives a
scoring boost to earlier entries.
However, this sorter relies on an `index` key existing for the entry, which is
only populated by the static finder currently. We should set it from the
other finders, too.
This will allow us to use said sorter everywhere. It will also let us
replicate the behaviour of `fzf --tiebreak=index`:
```
return pickers.new(opts, {
finder = finders.new_oneshot_job(...)
sorter = telescope.extensions.fzf.native_fzf_sorter(),
tiebreak = function(current_entry, existing_entry, _)
return current_entry.index < existing_entry.index
end
}):find()
```
This gives me better results for my "recently opened files" picker.
Other builtin pickers might benefit from this, too.
2023-05-24 11:29:36 +02:00
暮晨
6dec8cf723
feat(lsp): add 'reuse_win' for reuse window options ( #2454 )
2023-05-24 11:21:16 +02:00
YAMAMOTO Yuji
a709dbb5d5
feat: open buffers in various directions ( #2463 )
...
Fix the problem I reported in <https://github.com/nvim-telescope/telescope.nvim/issues/1725#issuecomment-1502548033 >.
Supporting the abbreviations of the commands to specify the direction makes too
many combinations, so I added only their unabbreviated names.
In addition, make the error message more detailed for users that passes
unsupported command.
2023-05-24 11:14:03 +02:00
James Trew
106662e056
feat(diagnotics): add disable_coordinates option ( #2477 )
2023-05-24 11:05:10 +02:00
Juan Barrios
8dd1cb2771
feat: sorting popup autocomplete items and initial builtin items ( #2518 )
2023-05-24 11:03:07 +02:00
Azad
233cd6ad0d
fix(lsp.definitions): compare file uri with targetUri ( #2514 )
2023-05-24 10:48:24 +02:00
Christian Clason
d8c5ed4e40
feat(ts)!: use upstream treesitter implementation ( #2499 )
...
bumps minimum required neovim version to 0.9, see `help telescope.changelog-2499`
2023-05-24 10:43:04 +02:00
Folke Lemaitre
057ee0f878
fix: icon highlights (broken on nightly) ( #2522 )
2023-05-23 14:31:04 +02:00
James Trew
40c31fdde9
feat(previewer): add option for ls --short ( #2486 )
...
Co-authored-by: Github Actions <actions@github>
2023-05-16 09:02:09 +03:00
Simon Hauser
ebf93395e7
fix: opening file starting with a plus ( #2509 )
2023-05-14 22:27:44 +02:00
Simon Hauser
f48a7178ed
Revert "fix: prefix color highlighting reset only on nvim 9.0 ( #2492 )" ( #2510 )
...
This reverts commit 41731e2f74 .
2023-05-14 22:21:10 +02:00
Pete Matsyburka
0900f6fcaa
fix: exclude directories from oldfiles picker ( #2485 )
2023-05-14 22:04:46 +02:00
KevinSilvester
89c67676a8
fix(preview): update mime-type check for json files ( #2221 ) ( #2480 )
2023-05-14 22:04:34 +02:00
Morten M. Neergaard
41731e2f74
fix: prefix color highlighting reset only on nvim 9.0 ( #2492 )
...
This fixes issue #2461
2023-05-14 22:00:59 +02:00
Hoang Nguyen
d5bef7c52d
fix(pickers): display preview title at the same position as results title for bottom_pane layout ( #2494 )
2023-05-14 21:45:36 +02:00
Rishikesh Vaishnav
40dc952352
fix: replace default mapping rather than mapping CR directly for history and search pickers ( #2506 )
2023-05-14 21:44:48 +02:00
Nguyễn Văn Đức
697c64b121
fix: flex layout strategy configurations error ( #2503 ) ( #2504 )
2023-05-14 21:44:37 +02:00
James Trew
d77b37f452
Revert "chore: simplify vimgrep_arguments args ( #2440 )" ( #2488 )
...
This reverts commit cfe6df6257 .
2023-05-07 00:47:52 -04:00
NAKAI Tsuyoshi
713d26b985
fix(actions): support commands with special chars ( #2224 )
2023-04-26 07:22:53 +03:00
J
f2645c1320
fix(health): remove deprecated api warnings in health check ( #2478 )
2023-04-23 14:40:33 +02:00
James Trew
6258d50b09
fix: escape cwd symbols for async_oneshot_finder ( #2460 )
2023-04-10 12:23:51 +02:00
James Trew
7141515a7c
fix(from_entry): escape paths with $ symbol ( #2412 )
...
Adds support for viewing File Previews of paths with dollar symbols.
2023-04-09 18:09:13 +02:00
Andrew Snelling
cfe6df6257
chore: simplify vimgrep_arguments args ( #2440 )
2023-04-09 10:18:29 +02:00
James Trew
031322a7c3
fix(action): grep_string select_default with nil column ( #2447 )
2023-04-09 10:09:42 +02:00
Safdar Awan
359e9ffc74
fix: vim.treesitter.get_query deprecated ( #2451 )
...
* fix: `vim.treesitter.get_query` deprecated
* fix: add fallback for `vim.treesitter.get_query` for stable versions of nvim
2023-04-09 10:07:14 +02:00
James Trew
c20d4fb592
fix: icon hl width for various pickers ( #2450 )
2023-04-09 10:04:20 +02:00
Maksym Klishevych
942fe5faef
feat(treesitter): symbols & ignore symbols options ( #2338 )
...
* feat(treesitter): symbols & ignore symbols options
* renamed the function passed to utils.filter_symbols
---------
Co-authored-by: Maksym Klishevych <max@klishevy.ch >
2023-03-22 09:49:55 -04:00
Pooyan Khanjankhani
e504cf03c2
doc: fix border characters in docs ( #2388 )
...
* chore: Fix border characters in comments
* [docgen] Update doc/telescope.txt
skip-checks: true
---------
Co-authored-by: Github Actions <actions@github>
2023-03-21 13:44:50 -04:00
Rafael Bodill
f43eb22e0c
fix: Incorrect refine option for prompt_prefix ( #2413 )
2023-03-21 13:34:53 -04:00
Zoe Roux
eba418cca7
fix: make git_status diff works with staged files ( #2421 )
2023-03-21 13:33:08 -04:00
James Trew
98f9d5f948
feat: utilize last window cursor position ( #2416 )
...
closes #2386
2023-03-21 13:32:11 -04:00
Andrii Berezhynskyi
10ebb30f0d
fix: preview cycling and titles work after :Telescope resume ( #2422 )
2023-03-21 13:28:19 -04:00
Simon Hauser
a3f17d3baf
fix: prefix color highlighting on nvim 0.9 ( #2403 )
2023-02-26 13:26:12 +01:00
Simon Hauser
a486ac3e8f
fix: current_buffer_fuzzy_find highlighter ( #2394 )
2023-02-20 22:43:15 +01:00
Simon Hauser
3915d933dc
fix: previewer = true ( #2395 )
2023-02-20 15:51:22 +01:00
cristiansofronie
f40e3e2304
feat: support selection for grep_string ( #2333 )
2023-02-19 13:41:28 +01:00
Luyu Huang
5d9658c39d
fix: apply jump_type only if the definition file is different from the current file ( #2324 )
2023-02-19 13:32:37 +01:00
Simon Hauser
443e5a6802
fix: current_buffer_fuzzy_find push cursor ( #2393 )
...
close #2332
2023-02-19 12:24:40 +01:00
liugh
f409830422
fix(builtin.commands): add the command w/ zero arguments to cmd history when executed ( #2320 )
2023-02-19 11:47:09 +01:00
Sultanahamer
3d8bd0a105
fix: wrap_results option breaking scrolling of results window ( #2322 )
2023-02-19 11:45:30 +01:00
Sven
ccda9f02f3
feat: extend git_delete_branch to delete of all selected branches ( #2337 )
2023-02-19 11:42:59 +01:00
Tommy Nguyen
ad37745d4d
fix: reverse range in character class error ( #2345 )
2023-02-19 11:21:29 +01:00
Uraza
5ce991ad23
docs: add missing documentation for builtin lsp symbols ( #2365 )
2023-02-19 11:17:05 +01:00
莊喬
b0395c2882
fix: avoid eval "= directly in builtin registers picker ( #2347 )
...
When "= contains expression not ought to be run in current context, the
`getreg('=')` raises error.
For example `:put =foo` (where `foo` is undefined) then open registers
picker it fails. Also #2228 .
Now specify second arg to `getreg` to get register expr (instead of
"evaluated" result) as content, like what `:registers` command displays.
This has behavior change, if user still want to see/paste the
evaluated result, a customized action will be needed.
2023-02-19 11:08:46 +01:00