Commit Graph
913 Commits
Author SHA1 Message Date
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
Luke KershawandSimon Hauser bdb0cd51ff fix(builtin.live_grep): add spacer ":" even when coordinates disabled (#2275)
* fix(builtin.live_grep): add spacer ":" even when coordinates disabled

* fix docgen

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
(cherry picked from commit 278c797b58)
2023-01-06 14:31:47 +01:00
AntonandSimon Hauser a837cbdbe6 fix(builtin.commands): no preview for multiline description commands (#2244)
(cherry picked from commit 22e13f6f69)
2023-01-06 14:31:28 +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 Hauser c8d69359d4 fix: generate.refine with border=false (#2223)
(cherry picked from commit 30826fcfb8)
2023-01-06 14:29:40 +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
Gutyina GergőandSimon 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
kylo252andSimon Hauser e7efa55b4f perf(builtin): faster list extend for find_files (#2205)
(cherry picked from commit 090b687542)
2023-01-06 14:28:21 +01:00
Nghia Le MinhandSimon Hauser c0894883fb feat(diagnostics): change highlight groups to DiagnosticSign... (#2194)
(cherry picked from commit f174a0367b)
2023-01-06 14:28:12 +01:00
Antoine BertinandSimon Hauser 50461b86c0 fix: selected icon highlight with color_devicons to false (#2187)
(cherry picked from commit 5fadc247c5)
2023-01-06 14:27:50 +01:00
Simon Hauser fd1b8bd9cf fix: preview = true (#2168)
(cherry picked from commit 3a29c1e89d)
2023-01-06 14:27:30 +01:00
Tushar KuntawarandSimon Hauser b206cef4fe works with register name and content (#2178)
(cherry picked from commit 76ea9a898d)
2023-01-06 14:27:04 +01:00
Tushar KuntawarandSimon Hauser c640176e95 fix: builtin register picker better sorting (#2175)
(cherry picked from commit 2428953db3)
2023-01-06 14:26:07 +01:00
Jieru MeiandSimon Hauser 8931c15a60 fix: checktime when git checkout (#2176)
(cherry picked from commit a7ede53f06)
2023-01-06 14:25:51 +01:00
Jonas StrittmatterandSimon Hauser 006b458a45 fix: check for window before scrolling previewer (#2163)
This avoids an error when scrolling the preview window
but the window is not visible (e.g. due to a screen resize).

(cherry picked from commit 30e2dc5232)
2023-01-06 14:25:33 +01:00
Sam RosenthalandSimon Hauser 0b1c41ad80 docs: update for git_files and live_grep (#2133)
(cherry picked from commit bd9e8a7eac)
2022-09-04 22:01:54 +02:00
Simon Hauser d74977591b fix: previewer if custom_captures are set (#2156)
(cherry picked from commit 19047b6b3c)
2022-09-04 22:01:47 +02:00
Simon Hauser 76eb49ef32 fix: nop i_<c-j> because we dont want allow new line (#2147)
(cherry picked from commit 49b043e2a3)
2022-09-04 22:01:36 +02:00
Christian ClasonandSimon 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
Alexe Radu AndreiandSimon Hauser 8dce93793d fix: remove un-needed check (#2144)
(cherry picked from commit c92f86386f)
2022-08-26 15:28:04 +02:00
Munif TanjimandSimon Hauser 758b2b7978 fix(sorters): add highlighter to fuzzy_with_index_bias (#2134)
(cherry picked from commit 454823222d)
2022-08-26 15:27:58 +02:00
AkiandSimon Hauser 7bad079d46 fix(pickers): always redraw when screen is resized (#2140)
Due to regression from switching
to lua autocmd api pickers
 were resized only once.

(cherry picked from commit 3e944f02ff)
2022-08-26 15:27:51 +02:00
Michał NowotnikandSimon Hauser 510338722e fix: make_entry.gen_from_string is a factory and needs to be called (#2116)
(cherry picked from commit 12c08bfde7)
2022-08-13 11:33:39 +02:00
Emiel Van SeverenandSimon Hauser 0585cd9a8c fix: typo in docs (#2100)
(cherry picked from commit e1206cb3e1)
2022-08-13 11:33:30 +02:00
Nikita KulakovandSimon Hauser 2df16c0618 docs: fix arguments in mappings table to refelct implementation (#2111) (#2125)
(cherry picked from commit 36d4571b05)
2022-08-13 11:07:54 +02:00
Bryce MontanoandSimon 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
Jonas StrittmatterandSimon Hauser 028dc2799d chore: reduce log level to trace in pickers.lua (#2124)
(cherry picked from commit c6cd725bc0)
2022-08-13 11:06:07 +02:00
Simon Hauser 760c779bb7 fix: previewer if cwd is not curr dir (#2084)
path needs to be expanded for filereadable and isdirectory

(cherry picked from commit 8746347ac4)
2022-08-10 22:15:01 +02:00
Fabian David SchmidtandSimon Hauser fdb4be95df fix(previewer): regression on live_grep (#2119)
(cherry picked from commit 8f80e82108)
2022-08-10 22:14:56 +02:00
Fabian David SchmidtandSimon Hauser 42bebcb81c fix(buffer_previewer): bypass path validation for terminal buffers (#2117)
(cherry picked from commit 787db424e3)
2022-08-10 22:14:50 +02:00
chmnchiangandSimon Hauser 2dffa85bdf fix(resolve): Check val not nil in resolve funcs (#2097)
We did not check `val ~= nil` in the resolve functions, so config like
`{ nil, max = 30 }` will throw a nil error. Also, if the config is `{
padding = _ }`, the logic relies on the function handling the padding is
iterated before the one handling min/max in the map, which is not always
guaranteed.

Fix the bug by adding nil check in the function handling min/max. Close

(cherry picked from commit 75a5e50653)
2022-08-01 18:29:48 +02:00
Christoph BlessingandSimon 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
stevenandSimon 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
Nicholas HoffmanandSimon Hauser 2642968388 fix(which_key): mode width options typo (#2078)
(cherry picked from commit bb8db6eda2)
2022-07-22 18:22:30 +02:00
Fabian David SchmidtandSimon Hauser 5e7f6911f2 fix(which_key): only get telescope mappings (#2090)
(cherry picked from commit 8c56301720)
2022-07-22 18:22:15 +02:00
Simon HauserandSimon Hauser 273ccffc0b fix: push history on refine (#2074)
(cherry picked from commit 6bddc38c25)
2022-07-16 10:10:34 +02:00
Simon HauserandGitHub 5acb9474a0 fix: cursor theme for nvim 0.7 (#2069) 2022-07-12 15:47:39 +02:00
Simon HauserandGitHub 5f25375191 chore: remove deprecated functions / messages (#2063) 2022-07-12 13:24:23 +02:00
Simon HauserandGitHub 7485b06d58 fix: cursor theme if winbar is set (#2066) 2022-07-12 13:21:19 +02:00
ac38730da1 docs: mappings documentation overhaul (#2065)
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2022-07-12 11:52:57 +02:00
Simon HauserandGitHub 4ab56d215a perf: limit scrolling size (#2059) 2022-07-12 09:46:51 +02:00
Simon HauserandGitHub 361482c599 docs: add module names to fix gO (#2064) 2022-07-12 09:46:30 +02:00
Simon HauserandGitHub 10a3310546 fix: from_entry escape and validation (#2058) 2022-07-10 21:28:22 +02:00
Simon HauserandGitHub 524c4eb7fb fix: more autocmds desc fixes (#2049) 2022-07-07 22:38:28 +02:00
Gregory AndersandGitHub 7df6662394 fix: also map <C-/> for which-key (#2051)
Some terminals send Ctrl + / as <C-/>, not <C-_>. Map both to the
which_key action to cover these cases.
2022-07-07 22:19:35 +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 ddf60d2bbe fix: grep_string search= jump to line
fix #2047
2022-07-07 19:08:46 +02:00
Simon HauserandGitHub 9b3afe51c4 fix: autocmd, show desc if available (#2046) 2022-07-07 16:45:32 +02:00