Commit graph

599 commits

Author SHA1 Message Date
Folke Lemaitre
8078bb353f
docs: more docs 2025-01-14 22:44:37 +01:00
Folke Lemaitre
42fe780310
fix(picker): run cmd action in vim.schedule 2025-01-14 22:14:56 +01:00
Folke Lemaitre
fa27142d95
fix(picker.lsp): supports_method on Neovim <= 0.11 does not support the bufnr argument 2025-01-14 22:12:57 +01:00
Folke Lemaitre
3469b8fc12
fix(picker.preview): notify on error with item inspect 2025-01-14 22:04:09 +01:00
Folke Lemaitre
42762939b1
feat(picker.highlights): show color hash and highlight links 2025-01-14 22:03:48 +01:00
Folke Lemaitre
65ad0f6a23
feat(picker): added none preview that simply shows a warning message 2025-01-14 21:31:31 +01:00
Folke Lemaitre
ebe61e5d9b
docs: docgen 2025-01-14 21:06:42 +01:00
Folke Lemaitre
520f48e197
fix(picker): properly deal with confirm action 2025-01-14 20:11:27 +01:00
Folke Lemaitre
0dcb53080d
perf(picker): when matcher/finder are not in an async context, run on_done immediately 2025-01-14 20:10:53 +01:00
Folke Lemaitre
6d5e5830a3
fix(picker): fix condition on when to use the pickers source 2025-01-14 19:43:25 +01:00
Folke Lemaitre
5f7e20b21b
perf(picker.proc): optimize chunk processing 2025-01-14 19:28:43 +01:00
Folke Lemaitre
ad792eb908
perf(picker): process process chunks async by queing them from the callbacks 2025-01-14 17:48:57 +01:00
Folke Lemaitre
b6aee37691
fix(picker.matcher): always abort running matcher before starting a new one 2025-01-14 16:30:31 +01:00
Folke Lemaitre
fe43bda1a2
feat(picker): <cr> in normal mode to confirm 2025-01-14 16:16:58 +01:00
Folke Lemaitre
fecbb4647c
fix(pickers.help): previewer config 2025-01-14 16:16:00 +01:00
Folke Lemaitre
b820c33796
fix(picker.matcher): no fast path when finder is still running 2025-01-14 16:15:48 +01:00
Folke Lemaitre
744aa4f224
refactor(picker): refactor all the things 2025-01-14 16:01:03 +01:00
Folke Lemaitre
3583c6f133
fix(picker.git): parse git status correctly 2025-01-14 15:58:20 +01:00
Folke Lemaitre
4c9bcbc8e8
fix(picker.input): limit search in statuscolumn to 20 chars 2025-01-14 14:30:32 +01:00
Folke Lemaitre
bba68a9631
feat(picker): add new pickers with Snacks.picker.source.foo = {} and automatically add them to main picker 2025-01-14 14:30:03 +01:00
Folke Lemaitre
773e584d85
fix(picker.help): fixed help tag preview search string 2025-01-14 12:45:30 +01:00
Folke Lemaitre
1c1876ab27
fix(picker.lsp): indent guides for document symbols 2025-01-14 12:27:52 +01:00
Folke Lemaitre
5b026e96af
docs: docgen 2025-01-14 11:56:46 +01:00
Folke Lemaitre
ee322226af
perf(picker.lines): no need to run in async context 2025-01-14 11:55:45 +01:00
Folke Lemaitre
3bc227f5ad
feat(picker.preview): more control on what is the main window + main = current for lines picker 2025-01-14 11:55:28 +01:00
Folke Lemaitre
9a9aec6ee9
feat(picker.preview): when previewing in main, use the main windows winhighlight option for the preview win 2025-01-14 11:54:02 +01:00
Folke Lemaitre
859ab6d63e
feat(picker.list): list:view is sets the cursor with an optional topline 2025-01-14 11:53:37 +01:00
Folke Lemaitre
ae44066826
fix(picker.list): additionally update cursorline on WinLeave / WinEnter 2025-01-14 11:52:41 +01:00
Folke Lemaitre
786ee43877
feat(picker.config): close list / preview with <esc> 2025-01-14 11:52:02 +01:00
Folke Lemaitre
9a7020fd18
feat(picker): on_show + impl for lines to show with current cursor 2025-01-14 11:51:42 +01:00
Folke Lemaitre
e390b7d874
refactor(picker): on_move => on_change 2025-01-14 11:50:25 +01:00
Folke Lemaitre
6a523768cf
perf(picker): dont use async when not needed 2025-01-14 11:05:30 +01:00
Folke Lemaitre
076feecf20
fix(picker.actions): current item 2025-01-14 07:49:07 +01:00
Folke Lemaitre
792ffdd702
fix(picker.actions): don't cycle windows that are hidden 2025-01-14 00:29:02 +01:00
Folke Lemaitre
1866a371b1
fix(grep): ignore .git files 2025-01-14 00:06:06 +01:00
Folke Lemaitre
7e51a2aaf9
fix(picker): multiselect key 2025-01-14 00:05:57 +01:00
Folke Lemaitre
0cc11413b1
fix(picker): close for confirm in git log 2025-01-13 23:29:41 +01:00
Folke Lemaitre
73fc653da9
fix(picker): load config for getting layout 2025-01-13 23:26:06 +01:00
Folke Lemaitre
15cd5901d9
fix(picker.actions): dont overwrite existing actions 2025-01-13 23:25:48 +01:00
Folke Lemaitre
70e3b6681e
style(picker): luals annotations 2025-01-13 22:31:10 +01:00
Folke Lemaitre
7efed2e40f
feat(picker): allow adding custom layouts to opts.picker.layouts 2025-01-13 22:31:00 +01:00
Folke Lemaitre
27320b14c9
fix(picker): disable colorcolumn 2025-01-13 22:13:53 +01:00
Folke Lemaitre
2de1a7c84f
fix(layout): close layout if one of the box windows closes 2025-01-13 22:08:25 +01:00
Folke Lemaitre
9b09feae51
feat(picker): use ivy picker with preview on main for buffer lines 2025-01-13 22:02:52 +01:00
Folke Lemaitre
5b1e387db2
docs: ignore some stuff 2025-01-13 21:53:05 +01:00
Folke Lemaitre
e43017af4b
feat(picker): added <a-w> to cycle windows 2025-01-13 21:53:05 +01:00
Folke Lemaitre
c74b0869b8
fix(picker): added and fixed vim.ui.select layout 2025-01-13 21:53:04 +01:00
Folke Lemaitre
f4e2f25fa6
fix(picker): preview in main update 2025-01-13 21:53:04 +01:00
Folke Lemaitre
1b93894640
fix(picker.highlights): fix invalid extmarks 2025-01-13 21:53:04 +01:00
Folke Lemaitre
deeacf77c0
feat(picker): allow showing the preview in the main buffer 2025-01-13 21:53:04 +01:00