Commit Graph

953 Commits

Author SHA1 Message Date
Antoine
a09df82861 feat(git): notify when not in a git repo instead of error (#2181)
Fix #2180
2022-09-30 19:29:03 +02:00
Tushar Kuntawar
2428953db3 fix: builtin register picker better sorting (#2175) 2022-09-27 21:17:11 +02:00
Jieru Mei
a7ede53f06 fix: checktime when git checkout (#2176) 2022-09-27 21:11:56 +02:00
Jonas Strittmatter
30e2dc5232 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).
2022-09-17 10:15:36 +02:00
Marcus Caisey
4a43d13c95 fix: don't include current line in lsp references if current_line=false (#2165) 2022-09-17 10:14:53 +02:00
Sam Rosenthal
bd9e8a7eac docs: update for git_files and live_grep (#2133) 2022-09-04 21:55:54 +02:00
Ryan Koval
2b5060362b feat: added support for tabdrop (#2143) 2022-09-04 21:47:25 +02:00
Simon Hauser
19047b6b3c fix: previewer if custom_captures are set (#2156) 2022-09-04 21:06:34 +02:00
Simon Hauser
49b043e2a3 fix: nop i_<c-j> because we dont want allow new line (#2147) 2022-09-03 11:22:26 +02:00
Christian Clason
b923665e64 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.
2022-08-27 15:29:36 +02:00
Alexe Radu Andrei
c92f86386f fix: remove un-needed check (#2144) 2022-08-26 14:04:23 +02:00
Munif Tanjim
454823222d fix(sorters): add highlighter to fuzzy_with_index_bias (#2134) 2022-08-26 13:50:58 +02:00
Aki
3e944f02ff fix(pickers): always redraw when screen is resized (#2140)
Due to regression from switching 
to lua autocmd api pickers
 were resized only once.
2022-08-24 09:04:15 +02:00
Fabian David Schmidt
28dc08f614 Revert "rfc: use extmarks for highlighting and carets (#2099)" (#2138)
This reverts commit 8d13f4ca8a.
2022-08-19 10:08:55 +02:00
Jeremy Saenz
8d13f4ca8a rfc: use extmarks for highlighting and carets (#2099)
* Starting to make some progress on extmarks for prefixes

* Finished up extmarks for multi-icons

* Cleaned up update_prefix calls, added display highlights

* remove highlight_one_row

* Remove TODOs

* stylua fixes

* fixes for luacheck

* Fixed whitespace to appease the stylua gods

* fixed a couple nits from pr

* Got tests passing with new highlighting functionality

* Apply suggestions from code review

Co-authored-by: Fabian David Schmidt <39233597+fdschmidt93@users.noreply.github.com>

Co-authored-by: Fabian David Schmidt <39233597+fdschmidt93@users.noreply.github.com>
2022-08-18 09:30:39 +02:00
Ryan Blonna
d793de0f12 feat: add drop command for buffers (#2131) 2022-08-13 11:18:17 +02:00
Michał Nowotnik
12c08bfde7 fix: make_entry.gen_from_string is a factory and needs to be called (#2116) 2022-08-13 11:15:59 +02:00
Emiel Van Severen
e1206cb3e1 fix: typo in docs (#2100) 2022-08-13 11:11:00 +02:00
Nikita Kulakov
36d4571b05 docs: fix arguments in mappings table to refelct implementation (#2111) (#2125) 2022-08-13 11:05:02 +02:00
Bryce Montano
ad32a4c453 fix: find_files to force color=never (#2130)
Co-authored-by: Bryce Montano <brycesec@amazon.com>
2022-08-13 11:03:34 +02:00
Jonas Strittmatter
c6cd725bc0 chore: reduce log level to trace in pickers.lua (#2124) 2022-08-13 10:59:49 +02:00
Simon Hauser
8746347ac4 fix: previewer if cwd is not curr dir (#2084)
path needs to be expanded for filereadable and isdirectory
2022-08-10 21:47:37 +02:00
Fabian David Schmidt
8f80e82108 fix(previewer): regression on live_grep (#2119) 2022-08-09 13:02:21 +02:00
Fabian David Schmidt
787db424e3 fix(buffer_previewer): bypass path validation for terminal buffers (#2117) 2022-08-09 11:45:06 +02:00
TJ DeVries
4725867ec6 fix: restore testing framework to actually work (#2070)
after refactor to some new asynchronous items for finders,
the tests stopped actually doing anything.

now they do things again.
2022-08-04 16:00:30 -04:00
chmnchiang
75a5e50653 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
2022-08-01 18:13:06 +02:00
Christoph Blessing
2e05e63cdf 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.
2022-08-01 18:06:28 +02:00
steven
b5833a682c fix: move the moon behind show_moon option and update documentation (#2072) (#2079) 2022-07-22 18:16:17 +02:00
Simon Hauser
737f8cd6b5 fix: Telescope command lsp_definition call (and potentially more) (#2086) 2022-07-22 17:52:41 +02:00
Nicholas Hoffman
bb8db6eda2 fix(which_key): mode width options typo (#2078) 2022-07-21 08:22:51 +02:00
Fabian David Schmidt
8c56301720 fix(which_key): only get telescope mappings (#2090) 2022-07-19 21:43:31 +02:00
Simon Hauser
6bddc38c25 fix: push history on refine (#2074) 2022-07-16 09:56:33 +02:00
Simon Hauser
5acb9474a0 fix: cursor theme for nvim 0.7 (#2069) 2022-07-12 15:47:39 +02:00
Simon Hauser
5f25375191 chore: remove deprecated functions / messages (#2063) 2022-07-12 13:24:23 +02:00
Simon Hauser
7485b06d58 fix: cursor theme if winbar is set (#2066) 2022-07-12 13:21:19 +02:00
Simon Hauser
ac38730da1 docs: mappings documentation overhaul (#2065)
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2022-07-12 11:52:57 +02:00
Simon Hauser
4ab56d215a perf: limit scrolling size (#2059) 2022-07-12 09:46:51 +02:00
Simon Hauser
361482c599 docs: add module names to fix gO (#2064) 2022-07-12 09:46:30 +02:00
Simon Hauser
10a3310546 fix: from_entry escape and validation (#2058) 2022-07-10 21:28:22 +02:00
Simon Hauser
524c4eb7fb fix: more autocmds desc fixes (#2049) 2022-07-07 22:38:28 +02:00
Gregory Anders
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 Hauser
9b3afe51c4 fix: autocmd, show desc if available (#2046) 2022-07-07 16:45:32 +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
Simon Hauser
30f2a367f2 feat(grep_string): invert_match for search="", removing empty lines (#2040) 2022-07-06 20:38:51 +02:00
Charles Moscofian
b44e657986 fix(path_display): allow function on path_display (#2043) 2022-07-06 08:29:15 +02:00
Simon Hauser
02cf3e4070 feat: grep_open_files for builtin.grep_string (#2039) 2022-07-06 08:26:22 +02:00
Charles Moscofian
6ea106329a fix: path_display hidden for make_entry.gen_from_quickfix (#2038) 2022-07-04 21:38:10 +02:00