A. Schueler
cea9c75c19
feat: sort branches initially by authordate ( #2236 )
2022-11-23 18:26:15 +01:00
kkharji
5e16fbc8ea
feat(picker): command history filter ( #2132 )
...
* feat(picker): command history filter
I've recently start using command history. For sometime was a bit annoyed of unrelevant commands
like edit/write and others (most likely only used once)
I've considered using lua patterns, however, logical `or` isn't a thing. Additionally, passing a list of lua patterns and checking each pattern for each command history entry felt tedious.
This PR introduce a new optional function to filter command history items.
For example, in my configurations
~~~lua
local command_history_ignore = vim.regex "edit\\|Move\\|write\\|Write\\|e\\s\\|lua\\sI("
overrides.command_history = minimal {
prompt_prefix = "CMDHistory> ",
filter_fn = function(item)
if #item < 3 then
return false
else
return not command_history_ignore:match_str(item)
end
end,
}
~~~
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
2022-11-23 17:26:29 +01:00
Andreas Guth
7a4ffef931
fix(lsp_references): not changing files if only 1 result ( #2229 )
2022-11-11 08:15:29 +01:00
Gutyina Gergő
cc77713294
feat: add jump_type option for lsp_references ( #2218 )
2022-11-06 17:43:01 +01:00
ADoyle
d541e0d6e0
feat: the parameter "map" of attach_mappings can be list of modes to create mapping on multiple modes ( #2220 )
2022-11-06 17:42:29 +01:00
Simon Hauser
30826fcfb8
fix: generate.refine with border=false ( #2223 )
2022-11-06 12:58:29 +01:00
Simon Hauser
4bd4205028
Revert "feat(git): notify when not in a git repo instead of error ( #2181 )" ( #2217 )
...
This reverts commit a09df82861 .
2022-10-31 15:48:32 +01:00
Simon Hauser
97847309cb
fix: always load the up to date picker config on picker open
2022-10-26 16:32:23 +02:00
Simon Hauser
9cf465894a
fix: rg invert and files-with-matches res line parsing ( #2208 )
2022-10-25 21:22:17 +02:00
Gutyina Gergő
5c7db4055d
feat: allow table as additional args in live grep and grep string ( #2139 )
2022-10-24 08:44:13 +02:00
Wu, Bo-Run
286628d9f2
docs: readme, add missing <leader> key to mapping examples ( #2197 )
2022-10-24 08:30:42 +02:00
kylo252
090b687542
perf(builtin): faster list extend for find_files ( #2205 )
2022-10-24 08:24:10 +02:00
Nghia Le Minh
f174a0367b
feat(diagnostics): change highlight groups to DiagnosticSign... ( #2194 )
2022-10-09 09:01:36 +02:00
Antoine Bertin
5fadc247c5
fix: selected icon highlight with color_devicons to false ( #2187 )
2022-10-08 09:10:26 +02:00
Simon Hauser
3a29c1e89d
fix: preview = true ( #2168 )
2022-10-08 07:46:08 +02:00
Tushar Kuntawar
76ea9a898d
works with register name and content ( #2178 )
2022-09-30 19:29:25 +02:00
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
Sebastián Estrella
63e2790496
docs: Add Lua-only key mappings examples ( #2174 )
2022-09-30 19:27:06 +02:00
Simon Hauser
d4204618dd
fix: stylua ci ( #2177 )
2022-09-27 21:25:57 +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
kid-icarus
1fd497e8ff
docs: update oneshot finder example ( #2167 )
2022-09-17 09:19:23 +02:00
Brian Di Palma
2584ff391b
docs: mention ripgrep find_files priority ( #2126 )
2022-09-04 21:59:46 +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