James Trew and Simon Hauser
65ee034c35
fix(builtin.buffers): better buffer in cwd check ( #2847 )
...
Previously, using `string.find`, certain characters were taken as regex
special characters leading to bad matches.
New approach takes bufname truncated to the length of cwd and compares
the two strings.
(cherry picked from commit 8b56e9bb2d )
2024-03-06 10:46:02 +01:00
James Trew and Simon Hauser
425ab66b3b
fix(builtin.buffers): improve only_cwd handling with partial matches ( #2845 )
...
closes #2843
Previously, bad partial matches between cwd and target buffer path would
result in non-cwd buffers showing up in the picker despite using
`only_cwd=true`.
eg.
cwd = `/foo/bar`
target buffer = `foo/bar1/baz.txt`
The target buffer starts with the cwd path.
This is fixed by appending a path separator before comparing/matching:
eg.
cwd = `/foo/bar/`
target buffer = `foo/bar1/baz.txt`
(cherry picked from commit c621f71012 )
2024-03-06 10:44:30 +01:00
Liu and Simon Hauser
1bec1c974e
fix(builtin.commands): make 0-arg commands be repeatable by @: ( #2808 )
...
(cherry picked from commit 9907deaed2 )
2024-03-06 10:36:06 +01:00
AI and Simon Hauser
296668f632
fix(lsp): call hierarchy results processing ( #2728 )
...
(cherry picked from commit 5a747a9587 )
2023-10-11 08:15:42 +02:00
Charles Moscofian and Simon Hauser
415876d486
fix: only validate severity table when using a range ( #2709 )
...
The only possibility for having a table with different severities to
pass to `vim.diagnostics.get()` as opts is when setting a range (limit
and bound), so just check for an empty table when a range is set.
(cherry picked from commit 40c8d2fc2b )
2023-10-11 08:10:29 +02:00
Sofronie Cristian and Simon Hauser
54930e1abf
fix(internal.resume): dynamic_preview_title was not respected and title became static ( #2696 )
...
* fix(internal.resume): dynamic_preview_title was not respected and title became static
* run stylua
(cherry picked from commit 3d8e051c8c )
2023-09-10 12:54:18 +02:00
JINNOUCHI Yasushi and Simon Hauser
573a8b2b5f
fix: use nil for the default diagnostics severity ( #2662 )
...
* fix: use nil for the default diagnostics severity
https://github.com/neovim/neovim/pull/24736 has introduced a new syntax
for severity format in `vim.diagnostic.get()`.
Fix #2661
* fix: fallback for 0.9.1
* fix: detect changes only when minor version > 9
(cherry picked from commit 6b79d7a6a4 )
2023-09-05 16:10:57 +02:00
Sofronie Cristian and Simon Hauser
0847120c40
fix(builtin.pickers): fix wrong picker resuming when using filtering ( #2682 )
...
When filtering is applied, `picker:get_index(picker:get_selection_row())` returns index relative to the filtered entry list rather than the original full results. This causes inaccurate indexing into the `cache_pickers` table.
(cherry picked from commit 74be3c3bba )
2023-09-05 16:10:48 +02:00
cristiansofronie and Simon Hauser
a52167fe41
fix(files.current_buffer_fuzzy_find): fix nil indexing on enter if nothing is selected ( #2678 )
...
(cherry picked from commit 2c1ed33a6f )
2023-09-05 16:09:05 +02:00
Andrii Berezhynskyi and Simon Hauser
dc4ea2cab4
fix: do not ignore mappings from setup() when attach_mappings provided ( #2613 )
...
(cherry picked from commit 597a3cc889 )
2023-09-05 16:05:32 +02:00
Stanislav Asunkin and Simon Hauser
5077c3d6e6
fix: fix builtins lazy loading ( #2590 )
...
(cherry picked from commit 0e0600908d )
2023-09-05 16:02:35 +02:00
Nghia Le Minh and Simon Hauser
11a3b16487
fix(lsp_dynamic_workspace_symbols): add prefilter as per documentation (after to_fuzzy_refine) ( #2584 )
...
* fix(lsp_dynamic_workspace_symbols): add prefilter as per documentation (after to_fuzzy_refine)
* [docgen] Update doc/telescope.txt
skip-checks: true
* docs grammar
* [docgen] Update doc/telescope.txt
skip-checks: true
---------
Co-authored-by: Github Actions <actions@github>
Co-authored-by: James Trew <j.trew10@gmail.com >
(cherry picked from commit 219584a6ef )
2023-09-05 16:01:35 +02:00
James Trew and Simon Hauser
50e942530e
fix(live_grep/grep_string): support non-utf8 patterns ( #2570 )
...
(cherry picked from commit ffe35cb433 )
2023-09-05 15:59:32 +02:00
Kalmander and Simon Hauser
866cd41242
fix(registers): add small delete remove black hole ( #2553 )
...
Co-authored-by: Tryggvi Kalman <tryggvikalman@protonmail.com >
(cherry picked from commit be49680937 )
2023-06-09 11:27:28 +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
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
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
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
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
Simon Hauser
766a45a972
fix: current_buffer_fuzzy_find highlighter ( #2394 )
...
(cherry picked from commit a486ac3e8f )
2023-02-20 22:43:58 +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
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
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
James Trew and Simon Hauser
0077389133
docs: proof-read edits ( #2311 )
...
(cherry picked from commit 053f2303c4 )
2023-01-22 10:09:23 +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
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
Simon Hauser
6ece9c462a
fix: live_grep additional_args parsing ( #2306 )
...
(cherry picked from commit 18fc02b499 )
2023-01-06 14:35:51 +01:00
Jonas Strittmatter and Simon Hauser
48a77baffb
fix: correctly parse filenames with special chars in git_status ( #2296 )
...
(cherry picked from commit b24fdfdb25 )
2023-01-06 14:35:46 +01:00
Simon Hauser
47143bbb42
chore: bump ci to more modern os and nvim versions ( #2289 )
...
(cherry picked from commit 0a7588252a )
2023-01-06 14:34:52 +01:00
Tobias S and Simon Hauser
9cc8a4b2c5
fix: jumplist picker indexing the line after ( #2273 )
...
(cherry picked from commit e960efa60e )
2023-01-06 14:32:07 +01:00
fcying and Simon Hauser
10151e4dbb
fix: misidentification invert and files_with_matches ( #2240 ) ( #2262 )
...
(cherry picked from commit d16581ef7d )
2023-01-06 14:31:57 +01:00
ADoyle and Simon Hauser
2bf2d10d19
feat: the parameter "map" of attach_mappings can be list of modes to create mapping on multiple modes ( #2220 )
...
(cherry picked from commit d541e0d6e0 )
2023-01-06 14:30:45 +01:00
Simon Hauser and Simon Hauser
bce36847e7
fix: always load the up to date picker config on picker open
...
(cherry picked from commit 97847309cb )
2023-01-06 14:29:29 +01:00
Simon Hauser
8944b48f21
fix: rg invert and files-with-matches res line parsing ( #2208 )
...
(cherry picked from commit 9cf465894a )
2023-01-06 14:29:21 +01:00
Gutyina Gergő and Simon Hauser
6a67ef38bf
feat: allow table as additional args in live grep and grep string ( #2139 )
...
(cherry picked from commit 5c7db4055d )
2023-01-06 14:28:55 +01:00
kylo252 and Simon Hauser
e7efa55b4f
perf(builtin): faster list extend for find_files ( #2205 )
...
(cherry picked from commit 090b687542 )
2023-01-06 14:28:21 +01:00
Tushar Kuntawar and Simon Hauser
c640176e95
fix: builtin register picker better sorting ( #2175 )
...
(cherry picked from commit 2428953db3 )
2023-01-06 14:26:07 +01:00
Sam Rosenthal and Simon Hauser
0b1c41ad80
docs: update for git_files and live_grep ( #2133 )
...
(cherry picked from commit bd9e8a7eac )
2022-09-04 22:01:54 +02:00
Christian Clason and Simon Hauser
51faca4b53
fix(preview): update buffer previewer to upstream changes ( #2150 )
...
https://github.com/neovim/neovim/pull/19931 removed `_get_hl_from_capture(id)` since captures are now implicitly mapped to highlight groups with the same name.
(cherry picked from commit b923665e64 )
2022-09-04 22:01:22 +02:00
Bryce Montano and Simon Hauser
037134ae89
fix: find_files to force color=never ( #2130 )
...
Co-authored-by: Bryce Montano <brycesec@amazon.com >
(cherry picked from commit ad32a4c453 )
2022-08-13 11:07:31 +02:00
Christoph Blessing and Simon Hauser
7a84733b8f
fix: error due to concatenating table to string ( #2108 )
...
This commit fixes a bug that lead to an error because we tried to
concatenate a table (`err`) to a string. Now we concatenate
`err.message` (a string) to the string.
(cherry picked from commit 2e05e63cdf )
2022-08-01 18:29:43 +02:00
steven and Simon Hauser
83c760cbac
fix: move the moon behind show_moon option and update documentation ( #2072 ) ( #2079 )
...
(cherry picked from commit b5833a682c )
2022-07-22 18:22:45 +02:00
Simon Hauser
01ad16522c
fix: Telescope command lsp_definition call (and potentially more) ( #2086 )
...
(cherry picked from commit 737f8cd6b5 )
2022-07-22 18:22:37 +02:00
Simon Hauser and GitHub
5f25375191
chore: remove deprecated functions / messages ( #2063 )
2022-07-12 13:24:23 +02:00
Simon Hauser
a36500c7ee
fix: live_grep search_dirs and grep_open_files opts
...
fix #2048
2022-07-07 19:16:13 +02:00
Simon Hauser
f838695459
chore: reformat with stylua 0.14.0
2022-07-07 08:27:46 +02:00
Simon Hauser
8fe2dde656
docs: add missing opts docs for lsp builtins
2022-07-06 20:45:40 +02:00