Simon Hauser
a5881cffc3
fix: make sure buf is valid before updating highlighting ( #2524 )
...
(cherry picked from commit e943f93a6a )
2023-05-24 22:18:56 +02:00
Simon Hauser and Simon Hauser
ec42e02030
fix(actions): send_to_* and smart_send_to_* now append to history ( #2527 )
...
(cherry picked from commit dda9a3965b )
2023-05-24 17:09:41 +02:00
Simon Hauser and Simon Hauser
66390a6f53
fix(finder): followup to #2442 , make sure entry is not nil ( #2526 )
...
(cherry picked from commit 19e8a8ae8b )
2023-05-24 17:08:58 +02:00
cristiansofronie and Simon Hauser
be8d87b122
fix: correctly restore cursor position in original window ( #2336 )
...
(cherry picked from commit 3f1b57908b )
2023-05-24 17:08:51 +02:00
James Trew and Simon Hauser
f97f4a04f7
fix: previewers & entry maker file encoding ( #2430 )
...
(cherry picked from commit c8b65238e8 )
2023-05-24 17:08:36 +02:00
Stef and Simon Hauser
a0208d8d60
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.
(cherry picked from commit 0b891ec934 )
2023-05-24 17:07:23 +02:00
Juan Barrios and Simon Hauser
b98bc793c4
feat: sorting popup autocomplete items and initial builtin items ( #2518 )
...
(cherry picked from commit 8dd1cb2771 )
2023-05-24 17:07:01 +02:00
Azad and Simon Hauser
5caa8ab208
fix(lsp.definitions): compare file uri with targetUri ( #2514 )
...
(cherry picked from commit 233cd6ad0d )
2023-05-24 17:06:16 +02:00
Folke Lemaitre and Simon Hauser
1c951e27e1
fix: icon highlights (broken on nightly) ( #2522 )
...
(cherry picked from commit 057ee0f878 )
2023-05-24 17:06:01 +02:00
Simon Hauser and Simon Hauser
fccfbbb6a6
fix: opening file starting with a plus ( #2509 )
...
(cherry picked from commit ebf93395e7 )
2023-05-24 17:05:50 +02:00
Pete Matsyburka and Simon Hauser
a49c3aa977
fix: exclude directories from oldfiles picker ( #2485 )
...
(cherry picked from commit 0900f6fcaa )
2023-05-14 22:18:09 +02:00
KevinSilvester and Simon Hauser
ce5cc56dee
fix(preview): update mime-type check for json files ( #2221 ) ( #2480 )
...
(cherry picked from commit 89c67676a8 )
2023-05-14 22:18:03 +02:00
Hoang Nguyen and Simon Hauser
9b4a1a20c2
fix(pickers): display preview title at the same position as results title for bottom_pane layout ( #2494 )
...
(cherry picked from commit d5bef7c52d )
2023-05-14 22:06:28 +02:00
Rishikesh Vaishnav and Simon Hauser
7bcbbb853d
fix: replace default mapping rather than mapping CR directly for history and search pickers ( #2506 )
...
(cherry picked from commit 40dc952352 )
2023-05-14 22:06:22 +02:00
Nguyễn Văn Đức and Simon Hauser
341519f545
fix: flex layout strategy configurations error ( #2503 ) ( #2504 )
...
(cherry picked from commit 697c64b121 )
2023-05-14 22:06:16 +02:00
James Trew and Simon Hauser
37fa401040
Revert "chore: simplify vimgrep_arguments args ( #2440 )" ( #2488 )
...
This reverts commit cfe6df6257 .
(cherry picked from commit d77b37f452 )
2023-05-14 21:34:13 +02:00
NAKAI Tsuyoshi and Simon Hauser
05b42dab55
fix(actions): support commands with special chars ( #2224 )
...
(cherry picked from commit 713d26b985 )
2023-05-14 21:34:07 +02:00
J and Simon Hauser
f41c7e5b6d
fix(health): remove deprecated api warnings in health check ( #2478 )
...
(cherry picked from commit f2645c1320 )
2023-05-14 21:34:01 +02:00
James Trew and Simon Hauser
4f874ff4e7
fix: escape cwd symbols for async_oneshot_finder ( #2460 )
...
(cherry picked from commit 6258d50b09 )
2023-05-14 21:33:48 +02:00
James Trew and Simon Hauser
9de317bdea
fix(from_entry): escape paths with $ symbol ( #2412 )
...
Adds support for viewing File Previews of paths with dollar symbols.
(cherry picked from commit 7141515a7c )
2023-04-09 18:13:48 +02:00
Andrew Snelling and Simon Hauser
9800a1d107
chore: simplify vimgrep_arguments args ( #2440 )
...
(cherry picked from commit cfe6df6257 )
2023-04-09 17:50:59 +02:00
James Trew and Simon Hauser
5dcff772cd
fix(action): grep_string select_default with nil column ( #2447 )
...
(cherry picked from commit 031322a7c3 )
2023-04-09 17:50:44 +02:00
Safdar Awan and Simon Hauser
14ee88bc49
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
(cherry picked from commit 359e9ffc74 )
2023-04-09 17:50:37 +02:00
James Trew and Simon Hauser
54fc54fdd3
fix: icon hl width for various pickers ( #2450 )
...
(cherry picked from commit c20d4fb592 )
2023-04-09 17:50:20 +02:00
Simon Hauser
597c10f5b1
fix: icons with multiple dots but without custom overrides ( #2256 )
...
(cherry picked from commit 361a172fce )
2023-04-09 17:49:49 +02:00
Mat Jones and Simon Hauser
8f88ce978e
feat: support for multi-part file extensions like *.test.js ( #2252 )
...
(cherry picked from commit f37c603303 )
2023-04-09 17:49:21 +02:00
Pooyan Khanjankhani and Simon Hauser
818ad69723
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>
(cherry picked from commit e504cf03c2 )
2023-04-09 10:23:54 +02:00
Rafael Bodill and Simon Hauser
83c1704be3
fix: Incorrect refine option for prompt_prefix ( #2413 )
...
(cherry picked from commit f43eb22e0c )
2023-04-09 10:23:40 +02:00
zoriya and Simon Hauser
5c06f24ed3
fix: make git_status diff works with staged files ( #2421 )
...
(cherry picked from commit eba418cca7 )
2023-04-09 10:23:32 +02:00
James Trew and Simon Hauser
0326d4679e
feat: utilize last window cursor position ( #2416 )
...
closes #2386
(cherry picked from commit 98f9d5f948 )
2023-04-09 10:23:23 +02:00
Andrii Berezhynskyi and Simon Hauser
c3b992ceba
fix: preview cycling and titles work after :Telescope resume ( #2422 )
...
(cherry picked from commit 10ebb30f0d )
2023-04-09 10:23:10 +02:00
Simon Hauser
766a45a972
fix: current_buffer_fuzzy_find highlighter ( #2394 )
...
(cherry picked from commit a486ac3e8f )
2023-02-20 22:43:58 +01:00
Simon Hauser and Simon Hauser
5d02292286
fix: previewer = true ( #2395 )
...
(cherry picked from commit 3915d933dc )
2023-02-20 15:51:56 +01:00
Luyu Huang and Simon Hauser
48ece76315
fix: apply jump_type only if the definition file is different from the current file ( #2324 )
...
(cherry picked from commit 5d9658c39d )
2023-02-19 14:12:15 +01:00
Simon Hauser
1c113b3e24
fix: current_buffer_fuzzy_find push cursor ( #2393 )
...
close #2332
(cherry picked from commit 443e5a6802 )
2023-02-19 14:10:31 +01:00
liugh and Simon Hauser
b04b051942
fix(builtin.commands): add the command w/ zero arguments to cmd history when executed ( #2320 )
...
(cherry picked from commit f409830422 )
2023-02-19 14:10:24 +01:00
Sultanahamer and Simon Hauser
be2aba7464
fix: wrap_results option breaking scrolling of results window ( #2322 )
...
(cherry picked from commit 3d8bd0a105 )
2023-02-19 14:10:16 +01:00
Tommy Nguyen and Simon Hauser
43063dd56d
fix: reverse range in character class error ( #2345 )
...
(cherry picked from commit ad37745d4d )
2023-02-19 14:10:07 +01:00
Uraza and Simon Hauser
9e55b91b54
docs: add missing documentation for builtin lsp symbols ( #2365 )
...
(cherry picked from commit 5ce991ad23 )
2023-02-19 14:09:55 +01:00
莊喬 and Simon Hauser
996eb191bf
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.
(cherry picked from commit b0395c2882 )
2023-02-19 14:09:48 +01:00
Yuta Katayama and Simon Hauser
9c16730e9b
fix: rename ts_utils.get_node_range -> vim.treesitter.get_node_range ( #2376 )
...
(cherry picked from commit abba036478 )
2023-02-19 14:09:38 +01:00
Josa Gesell and Simon Hauser
0b4e54e86b
fix: execute autocmds correctly ( #2375 )
...
(cherry picked from commit e572c63c7d )
2023-02-19 14:09:24 +01:00
Kalka and Simon Hauser
686aea90ef
fix: wrap nvim_buf_set_option in a protected call ( #2346 )
...
(cherry picked from commit 65287605c3 )
2023-02-19 14:08:59 +01:00
Fernando Schauenburg and Simon Hauser
4340c22b63
fix: man_pages on macOS and FreeBSD ( #2326 ) ( #2352 )
...
macOS 13.x (Ventura, Darwin 22.x) uses `apropos(1)` from FreeBSD, which
does not behave the same as the previous implementation up to macOS 12.
`apropos(1)` takes a regular expression as an argument, so passing "."
causes it to match anything and therefore return all results to be
filtered by Telescope.
(cherry picked from commit d5f6c0911d )
2023-02-19 14:08:46 +01:00
vladislav doster and Simon Hauser
a1bd6866b5
docs: telescope.nvim spelling and grammar fixes ( #2325 )
...
Corrects the following issues:
- article agreement
- spelling
(cherry picked from commit dce1156ca1 )
2023-01-22 10:09:28 +01:00
James Trew and Simon Hauser
0077389133
docs: proof-read edits ( #2311 )
...
(cherry picked from commit 053f2303c4 )
2023-01-22 10:09:23 +01:00
cristiansofronie and Simon Hauser
6a65f24ff6
docs: fix unfinised sentence in docs ( #2335 )
...
(cherry picked from commit ed366bba14 )
2023-01-22 10:09:18 +01:00
Hasan Mahmud and Simon Hauser
ebdea0a718
fix(oldfiles): use path separator from builtin utils in cwd_only ( #2340 )
...
(cherry picked from commit 83eb2f9756 )
2023-01-22 10:08:44 +01:00
Simon Hauser
5182e1dd52
chore: fix stylua ci
...
(cherry picked from commit 0e56ea028d )
2023-01-22 10:08:39 +01:00
emmanueltouzery and GitHub
f7bceabcc9
fix(old_files): opts.cwd_only includes similarly named dirs ( #2308 )
...
(cherry picked from commit 04af51dbfb )
2023-01-07 12:45:58 +01:00