Commit Graph
337 Commits
Author SHA1 Message Date
Nolan ProchnauandSimon Hauser 679dacb6f4 fix(builtin.commands): don't remap for feedkeys (#3087)
(cherry picked from commit 486a6489c4)
2024-05-20 11:30:49 +02:00
Kevin TraverandSimon Hauser c4e3e8f6ca fix(picker): notify on empty quickfix and loclist (#3082)
(cherry picked from commit 2d0d057791)
2024-05-20 11:30:40 +02:00
James TrewandSimon Hauser d5fe96ec8a fix: expand/normalize paths more selectively (#2628)
(cherry picked from commit 3b8399c273)
2024-05-20 11:10:12 +02:00
James TrewandSimon Hauser 48960a8164 fix(builtin.lsp): bad check for jump_type option (#2991)
(cherry picked from commit c816406bd5)
2024-05-20 10:55:29 +02:00
James TrewandSimon Hauser 6d61c905ee fix(builtin.lsp): extra No Name buffer opening with jump_type (#2990)
(cherry picked from commit 5730b950d9)
2024-05-20 10:54:30 +02:00
James TrewandSimon Hauser 332465c706 docs(builtin.colorscheme): add colors option desc (#2989)
* docs(builtin.colorscheme): add `colors` option desc

* docgen plz

(cherry picked from commit 1fa3b801f0)
2024-05-20 10:52:19 +02:00
James TrewandSimon Hauser 391581dd26 fix(lsp): incoming/outgoing_call range locations (#2985)
Previous implementation uses the incorrect lsp result fields for
generating call site locations resulting in incomplete and incorrect
results.

(cherry picked from commit 8cd58c6e81)
2024-05-20 10:52:13 +02:00
fcyingandSimon Hauser 321d782c1d fix: remove duplicate lazyloaded items in colorscheme (#2951)
(cherry picked from commit 04dfe370b0)
2024-05-20 10:52:06 +02:00
James TrewandSimon Hauser 6312868392 docs(git_status): add missing opt expand_dir (#2824)
* docs(git_status): add missing opt `expand_dir`

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

---------

Co-authored-by: Github Actions <actions@github>
(cherry picked from commit fa4d663c8c)
2024-03-12 15:16:42 +01:00
James TrewandGitHub d85ad68222 fix(builtin.marks): expand mark path (#2980)
(cherry picked from commit 5550bbb1b6)
2024-03-12 14:24:34 +01:00
James TrewandSimon Hauser 93dc724f38 feat(git_files): support emoji/unicode in filenames (#2943)
Pass `core.quotepath=false` to achieve this.

Could alternatively pass `-z` but that uses `\0` line termination and
complicates things.

Closes #2900

(cherry picked from commit 955e50dfed)
2024-03-06 16:05:54 +01:00
Marco De DonnoandSimon Hauser 6d2be79385 fix: do not alter jumplist when jumping to a line in a file (#2910)
(cherry picked from commit 236083884c)
2024-03-06 11:12:43 +01:00
James TrewandSimon Hauser 72b42a5b80 fix(builtin.oldfiles): cwd matching with special characters (#2860)
`vim.fn.matchstrpos({expr}, {pat})` doesn't handle all characters well
since the pattern (cwd path in this case) is used as a regex pattern.

(cherry picked from commit b3ff5f3320)
2024-03-06 11:03:57 +01:00
James TrewandSimon 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 TrewandSimon 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
LiuandSimon 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
AIandSimon Hauser 296668f632 fix(lsp): call hierarchy results processing (#2728)
(cherry picked from commit 5a747a9587)
2023-10-11 08:15:42 +02:00
Charles MoscofianandSimon 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 CristianandSimon 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 YasushiandSimon 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 CristianandSimon 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
cristiansofronieandSimon 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 BerezhynskyiandSimon 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 AsunkinandSimon Hauser 5077c3d6e6 fix: fix builtins lazy loading (#2590)
(cherry picked from commit 0e0600908d)
2023-09-05 16:02:35 +02:00
Nghia Le MinhandSimon 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 TrewandSimon 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
KalmanderandSimon 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 TrewandSimon Hauser f97f4a04f7 fix: previewers & entry maker file encoding (#2430)
(cherry picked from commit c8b65238e8)
2023-05-24 17:08:36 +02:00
Juan BarriosandSimon 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
AzadandSimon 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 MatsyburkaandSimon Hauser a49c3aa977 fix: exclude directories from oldfiles picker (#2485)
(cherry picked from commit 0900f6fcaa)
2023-05-14 22:18:09 +02:00
Rishikesh VaishnavandSimon 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 AwanandSimon 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 HuangandSimon 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
liughandSimon 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
UrazaandSimon 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 SchauenburgandSimon 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 TrewandSimon Hauser 0077389133 docs: proof-read edits (#2311)
(cherry picked from commit 053f2303c4)
2023-01-22 10:09:23 +01:00
Hasan MahmudandSimon 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
emmanueltouzeryandGitHub 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 StrittmatterandSimon 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 SandSimon Hauser 9cc8a4b2c5 fix: jumplist picker indexing the line after (#2273)
(cherry picked from commit e960efa60e)
2023-01-06 14:32:07 +01:00
fcyingandSimon Hauser 10151e4dbb fix: misidentification invert and files_with_matches (#2240) (#2262)
(cherry picked from commit d16581ef7d)
2023-01-06 14:31:57 +01:00
ADoyleandSimon 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 HauserandSimon 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