Commit Graph

1032 Commits

Author SHA1 Message Date
tzachar
c571d96fe5 fix: do not use nvim_buf_line_count on unloaded buffers (#2261) 2023-01-06 11:58:16 +01:00
Tsakiris Tryfon
a606bd10c7 docs: fix typos/wording (#2283) 2022-12-28 14:49:57 +01:00
Cyan
01d92285ef feat(git): git_commits shows the current branch graph (#2288)
Co-authored-by: Cyan Joeng <cyan.joeng@gmail.com>
2022-12-28 15:43:35 +03:00
C.D. MacEachern
d7d3ea9015 fix(docs): point to correct lua modules (#2284) 2022-12-28 13:41:30 +01:00
Simon Hauser
0a7588252a chore: bump ci to more modern os and nvim versions (#2289) 2022-12-28 13:11:00 +01:00
Tobias S
e960efa60e fix: jumplist picker indexing the line after (#2273) 2022-12-21 12:10:42 +01:00
fcying
d16581ef7d fix: misidentification invert and files_with_matches (#2240) (#2262) 2022-12-21 08:54:23 +01:00
Luke Kershaw
278c797b58 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>
2022-12-21 08:53:29 +01:00
Anton
22e13f6f69 fix(builtin.commands): no preview for multiline description commands (#2244) 2022-12-02 12:04:45 +01:00
Simon Hauser
361a172fce fix: icons with multiple dots but without custom overrides (#2256) 2022-12-02 10:21:44 +01:00
Mat Jones
f37c603303 feat: support for multi-part file extensions like *.test.js (#2252) 2022-12-01 19:20:52 +01:00
zbq
3c2e5fb23e feat: add configuration to fix encoding of output of find_command in find_files (#2232) 2022-11-28 22:41:37 +01:00
Xavier Young
4d77743a8e feat(builtin.keymaps): display noremap/buffer indicators and add lhs filter (#2246) 2022-11-27 20:04:07 +01:00
kyoh86
343a2b6b71 feat: add new action to open quickfix window from quickfixhistory (#2249) 2022-11-27 20:03:03 +01:00
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
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
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