Folke Lemaitre
118648ce93
feat(picker.git_diff): added staged flag
2025-10-29 15:30:58 +01:00
Folke Lemaitre
0a33aec0c6
fix(picker.diff): only process --- diffs directly if it doesn't start with a diff header
2025-10-29 15:22:14 +01:00
Folke Lemaitre
de352425f7
fix(win): when fixbuf triggers in a floating window, just close it. Closes #2380
2025-10-29 15:15:59 +01:00
Folke Lemaitre
2a1a001d3a
fix(picker.actions): use buffer! instead of buffer for edit. Closes #2378
2025-10-29 14:41:19 +01:00
Folke Lemaitre
72dc6213f7
fix(explorer.tree): only strip trasiling forward slashes if not at root. Closes #2375
2025-10-29 14:18:11 +01:00
Folke Lemaitre
a8930bdb61
fix(win): ignore errors on destroy. Closes #2381
2025-10-29 14:02:18 +01:00
Folke Lemaitre
4708e9a386
feat(picker): better integration with markview and render-markdown when previewing
2025-10-29 13:49:34 +01:00
Folke Lemaitre
4b572f4785
feat(picker.preview): allow items to define a title used in the preview window
2025-10-29 13:47:25 +01:00
Folke Lemaitre
cb85844e84
perf(picker.util): cache badge hl groups
2025-10-29 13:46:58 +01:00
Folke Lemaitre
9bca1b1c54
style(debug): make sure id is set
2025-10-29 07:44:04 +01:00
Folke Lemaitre
3e30fb6c70
fix(picker.util): better relative time format
2025-10-29 07:43:48 +01:00
Folke Lemaitre
202e595e55
feat(picker.highlights): badges
2025-10-29 07:43:21 +01:00
Folke Lemaitre
bb80317647
perf(statuscolumn): only calculate components that are actually needed
2025-10-29 06:52:38 +01:00
Folke Lemaitre
e18e4f6452
fix(image): check to update on BufWinEnter and attach to buffer changes
2025-10-28 22:00:57 +01:00
Iordanis Petkakis
59c5545e91
fix(explorer): differentiate if file or folder when deleting on Windows ( #2373 )
...
CI / ci (push) Waiting to run
## Description
Use different command on Windows for deleting folder/file to avoid error
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
## Related Issue(s)
Fixes #2371
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots
<!-- Add screenshots of the changes if applicable. -->
2025-10-28 21:18:04 +01:00
Folke Lemaitre
e2c1c527e4
fix(picker.preview): fix
CI / ci (push) Waiting to run
2025-10-28 10:59:36 +01:00
Folke Lemaitre
758bbfa13a
fix(picker.preview): again. docgen seems broken
2025-10-28 10:44:00 +01:00
folke
16541fb0e7
chore(build): auto-generate docs
2025-10-28 09:41:26 +00:00
Folke Lemaitre
fd7795e9cd
fix(picker.preview): fckup
2025-10-28 10:41:02 +01:00
Folke Lemaitre
9585da6c57
feat(picker.preview): support for images and render markdown
2025-10-28 10:39:28 +01:00
Folke Lemaitre
2cf1a843b0
docs: make picker docgen idempotent
2025-10-28 10:35:31 +01:00
folke
367ca6b12e
chore(build): auto-generate docs
2025-10-28 09:31:23 +00:00
folke
b9e05701eb
chore(build): auto-generate docs
2025-10-28 09:30:27 +00:00
folke
5130869e10
chore(build): auto-generate docs
2025-10-28 09:30:07 +00:00
Folke Lemaitre
a07a7f0307
refactor(picker.preview): spinner
2025-10-28 10:29:02 +01:00
Folke Lemaitre
5faed2f7ab
fix(util.job): use nvim_win_set_cursor instead of gg
2025-10-28 10:28:08 +01:00
Folke Lemaitre
fb011c257f
fix(picker.diff): first line of header
2025-10-28 10:27:52 +01:00
Folke Lemaitre
b3c0ed5af0
refactor(picker): move diff injections to scm file
2025-10-28 10:22:44 +01:00
Folke Lemaitre
377f3bfeca
fix(picker.diff): better filename parsing. See #2366
2025-10-28 10:20:27 +01:00
Folke Lemaitre
c91e23060c
fix(picker.finder): mutate existing opts
2025-10-28 09:06:59 +01:00
Folke Lemaitre
d343714bc6
refactor(picker.git): use ctx:git_root() where needed
2025-10-28 08:55:13 +01:00
Folke Lemaitre
530e591345
fix(picker.git_diff): set group=false by default, since we also have git_status
2025-10-28 08:51:08 +01:00
Folke Lemaitre
502598953f
feat(picker.util): cmdline parser used to properly parse diff args
2025-10-28 08:48:02 +01:00
Folke Lemaitre
3049ad8beb
feat(picker.diff): moved git_diff finder to separate file so it can be re-used + made it more robust. Closes #2366
2025-10-28 08:47:18 +01:00
Folke Lemaitre
f2f05e5cff
refactor(picker.proc): ctx:opts() to pass custom options between finders
2025-10-28 08:45:02 +01:00
Folke Lemaitre
c1b517f545
fix(picker.filter): get cwd from active tabpage if available
2025-10-28 08:43:37 +01:00
Folke Lemaitre
52f30a198a
fix(util.lsp): Snacks.util.lsp.on() should trigger for each lsp client per buffer
CI / ci (push) Waiting to run
2025-10-28 00:31:52 +01:00
Folke Lemaitre
b3197e3a2a
fix(picker): increase default show_delay to 5s. Closes #2364
2025-10-28 00:21:26 +01:00
Folke Lemaitre
c4ec8b6d12
fix(picker): dont watch files for closed pickers. Fixes #2365
2025-10-28 00:18:36 +01:00
Folke Lemaitre
15014e013f
style(debug): luals types
2025-10-28 00:14:18 +01:00
Folke Lemaitre
c0d8f8cb78
refactor(picker.format): extend highlights with offset fixes
2025-10-28 00:14:18 +01:00
Folke Lemaitre
98345fb667
fix(picker.highlights): modifiable for set_lines
2025-10-28 00:14:17 +01:00
Folke Lemaitre
ce9e2993dd
feat(util): Snacks.util.stop() to safely stop/close a luv handle
2025-10-28 00:14:17 +01:00
Folke Lemaitre
5589c9d355
feat(util.spawn): Proc:json()
2025-10-28 00:14:17 +01:00
Folke Lemaitre
b5441575e0
fix(util.job): scroll to top when process exits
2025-10-28 00:14:17 +01:00
Folke Lemaitre
b0644884ef
fix(picker.preview): don't show locations for diff preview
2025-10-28 00:14:17 +01:00
Folke Lemaitre
726095723d
feat(picker.diff): native diff now also highlights the language of the diffed code in the diff
2025-10-28 00:14:16 +01:00
Folke Lemaitre
551d79f1c0
fix(scroll): only reset count when needed
2025-10-27 17:26:51 +01:00
Folke Lemaitre
0fbea13c9d
perf(scroll): combine all scrolling commands in one command + restore vim.v.count
2025-10-27 17:02:38 +01:00
Folke Lemaitre
2221fe6166
perf(scroll): smoother scrolling using new animations
2025-10-27 13:31:48 +01:00