Folke Lemaitre
68fd30d93c
fix(picker): allow expr actions
2025-01-13 21:53:01 +01:00
Folke Lemaitre
76e730f686
feat(picker): use ctrl jk instead of ctrl np to navigate results
2025-01-13 21:53:01 +01:00
Folke Lemaitre
6e39050fee
perf(picker): use a proper min-heap to maintain topk. Slightly faster. Now runs in O(N log k)
instead of O(N x k)
2025-01-13 21:53:01 +01:00
Folke Lemaitre
ebeb9f753b
perf(matcher): faster path when only one mod
2025-01-13 21:53:01 +01:00
Folke Lemaitre
7f69347eac
fix(list): trim empty space
2025-01-13 21:53:01 +01:00
Folke Lemaitre
351ec11fb2
fix(highlight): compat with 0.10
2025-01-13 21:53:01 +01:00
Folke Lemaitre
10b314300f
fix(picker): fix extmark col / end_col
2025-01-13 21:53:01 +01:00
Folke Lemaitre
8bf9f78ddd
feat(picker): make resume an actual picker
2025-01-13 21:53:01 +01:00
Folke Lemaitre
2380fd76f3
feat(picker): generic filter for qflist and loclist
2025-01-13 21:53:01 +01:00
Folke Lemaitre
00577eab35
feat(picker): added generic file/buffer filter used by finders
2025-01-13 21:53:01 +01:00
Folke Lemaitre
b8b4aa0308
feat: snacks picker
2025-01-13 21:53:00 +01:00
Folke Lemaitre
1957f8d40b
feat: added snacks.layout
to easily create layouts. Check picker presets for examples
2025-01-13 21:53:00 +01:00
Folke Lemaitre
c78e019735
fix(win): better border size calculation
2025-01-13 21:53:00 +01:00
Ronuk Raval
8d2e26cf27
fix(scratch): autowrite right buffer. Fixes #449 . ( #452 )
...
## Description
When toggling scratch closed, it's possible for the active buffer to be
something other than the scratch buffer.
This results in the autowrite behaviour triggering a `write` for
whatever that active buffer was and leaving the scratch buffer as dirty.
## Related Issue(s)
- Fixes #449 .
2025-01-13 21:52:20 +01:00
Folke Lemaitre
5affa7214f
fix(input): bring back <c-w>
. Fixes #426 . Closes #429
2025-01-11 17:36:03 +01:00
Folke Lemaitre
d494a9e664
feat(scroll): faster animations for scroll repeats after delay. (replaces spamming handling)
2025-01-11 12:07:15 +01:00
Folke Lemaitre
197b0a9be9
fix(animate): never animate stopped animations
2025-01-11 12:06:07 +01:00
Folke Lemaitre
ac8b3cdfa0
fix(scroll): don't animate for new changedtick. Fixes #384
2025-01-06 16:55:18 +01:00
Folke Lemaitre
7dcdcb0b6a
fix(scroll): don't animate when recording or executing macros
2025-01-06 16:54:37 +01:00
Folke Lemaitre
ee08b1f32e
fix(win): win position with border offsets. Closes #413 . Fixes #423
2025-01-05 19:12:23 +01:00
Will Norris
818da334ac
fix(input): use correct highlight group for input prompt ( #328 )
...
I'm suspect this was just a typo... using the border highlight group
rather than title.
2025-01-05 06:59:00 +01:00
Folke Lemaitre
8a6e5b9685
feat(statuscolumn): allow changing the marks hl group. Fixes #390
2025-01-05 06:53:08 +01:00
Jay Madden
d312053f78
fix(dashboard): hash dashboard terminal section caching key to support long commands ( #381 )
...
## Description
This change hashes the caching key for snacks dashboards terminal
sections instead of building the key from the command itself. This
allows for arbitrary length scripts to be given as a terminal section
command instead of relying on existing commands in PATH.
## Related Issue(s)
#379
## Screenshots
<img width="1176" alt="image"
src="https://github.com/user-attachments/assets/77a376c1-75b6-4023-8984-efd590f66a68 "
/>
2024-12-31 06:24:21 +01:00
NevLext
ec346843e0
fix(lazygit): enable boolean values in config ( #377 )
...
## Description
Using boolean value inside `config` resulted in error `attempt to
concatenate a boolean value` inside `to_yaml` function.
This PR fixes it by converting boolean values to string
Example config:
```
lazygit = {
config = {
gui = {
showFileTree = false,
},
},
},
```
## Related Issue(s)
## Screenshots

2024-12-31 06:22:31 +01:00
Chris Grieser
373d0f9b6d
fix(win): backdrop having bright cell at top right ( #400 )
...
## The bug
`backdrop` displays a bright cell at the top left. upon investigation, I
figured out that it's created by the user's `colorcolumn` setting also
being applied to the backdrop.
## The fix
Disable `colorcolumn` for the backdrop window.
## Screenshots
before

after

2024-12-31 06:21:15 +01:00
Folke Lemaitre
60adc6ac8a
docs: docgen
2024-12-31 06:20:31 +01:00
Folke Lemaitre
cba16bdb35
feat(debug): system & memory metrics useful for debugging
2024-12-31 06:18:13 +01:00
Folke Lemaitre
89306308f3
fix(input): refactor for win changes and ensure modified=false. Fixes #403 . Fixes #402
2024-12-31 06:17:37 +01:00
Folke Lemaitre
cc0b52872b
feat(win): better dimension calculation for windows (use by upcoming layouts)
2024-12-31 06:15:54 +01:00
Folke Lemaitre
320ecbc15c
feat(win): top,right,bottom,left borders
2024-12-31 06:15:05 +01:00
Folke Lemaitre
402494bdee
feat(win): allow setting desc
for window actions
2024-12-31 06:14:20 +01:00
Folke Lemaitre
93aabee9b2
refactor(win): manage window events
2024-12-31 06:13:15 +01:00
Folke Lemaitre
4cd0647eb5
feat(win): Snacks.win:border_size
2024-12-31 06:10:03 +01:00
Folke Lemaitre
a7899f58cf
refactor(win): __index
2024-12-31 06:05:17 +01:00
Folke Lemaitre
0711a82b7a
feat(win): Snacks.win:redraw
2024-12-31 06:04:30 +01:00
Folke Lemaitre
dd50e53a9e
fix(win): force-close any buffer that is not a file
2024-12-31 06:03:48 +01:00
Folke Lemaitre
ca233c7448
fix(win): don't enter when focusable is false
2024-12-31 06:03:31 +01:00
Folke Lemaitre
a1da66e3bf
feat(win): Snacks.win:scroll
2024-12-31 06:02:36 +01:00
Folke Lemaitre
7383edaec8
feat(util): Snacks.util.ref
2024-12-31 06:01:10 +01:00
Folke Lemaitre
98403313c7
fix(util): throttle now autonatically schedules when in fast event
2024-12-31 06:00:48 +01:00
Folke Lemaitre
b93201bdf3
fix(indent): repeat_linbebreak only works on Neovim >= 0.10. Fixes #353
2024-12-20 14:31:36 +01:00
Folke Lemaitre
94ec5686a6
fix(indent): don't render scopes in closed folds. Fixes #352
2024-12-19 08:47:36 +01:00
Folke Lemaitre
c62e7a2561
fix(indent): do animate check in bufcall
2024-12-19 08:47:36 +01:00
Folke Lemaitre
2990bf0c7a
fix(input): change buftype to prompt. Fixes #350
2024-12-18 22:23:08 +01:00
Folke Lemaitre
551e644ca3
fix(indent): off-by-one for indent guide hl group
2024-12-18 21:48:50 +01:00
Folke Lemaitre
05f49814f3
fix(zen): set zindex to 40, lower than hover (45). Closes #345
2024-12-18 15:35:00 +01:00
Folke Lemaitre
282be8bfa8
fix(indent): simplify indent guide logic and never overwrite blanks. Fixes #334
2024-12-18 07:41:37 +01:00
Folke Lemaitre
fc0a99b849
fix(scroll): don't animate when leaving cmdline search with incsearch enabled. Fixes #331
2024-12-18 07:09:03 +01:00
Folke Lemaitre
eb887f4abb
style: luals
2024-12-18 07:02:08 +01:00
Folke Lemaitre
6cbdbb9afa
fix(debug): make sure debug can be required in fast events
2024-12-18 07:01:48 +01:00