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 |
|
Folke Lemaitre
|
b7a3fed8d9
|
perf(animate): smoother animations
|
2025-10-27 13:31:25 +01:00 |
|
Folke Lemaitre
|
ecde81fc0c
|
fix(picker): pause input progress info for 60ms to prevent flickering when finder is too fast
CI / ci (push) Waiting to run
|
2025-10-26 21:05:17 +01:00 |
|
Folke Lemaitre
|
d7caea32ab
|
style(picker): better debug/errors when running commands
|
2025-10-26 20:37:31 +01:00 |
|
Folke Lemaitre
|
244f5b1a97
|
refactor(picker): move explorer.confirm to picker.util
|
2025-10-26 20:37:02 +01:00 |
|
Folke Lemaitre
|
221d4b1747
|
fix(util.job): stop when attached buffer is no longer valid
|
2025-10-26 20:19:23 +01:00 |
|
Folke Lemaitre
|
3e8ad3f8eb
|
refactor(picker.format): move commit_message format to its own formatter
|
2025-10-26 20:14:01 +01:00 |
|
Folke Lemaitre
|
0e8f43edd7
|
style(picker): default highlight for SnacksPickerFileType
|
2025-10-26 20:13:25 +01:00 |
|
Folke Lemaitre
|
2439c493a5
|
fix(picker): only trim space in the title if it's preceded by a word like character (skips icons)
|
2025-10-26 20:12:59 +01:00 |
|
Folke Lemaitre
|
a249c86cf1
|
feat(picker.buffers): add filetype/buftype to search text
|
2025-10-26 20:12:31 +01:00 |
|
Folke Lemaitre
|
4ad8a41eac
|
fix(picker.preview): show proper preview message for deleted scratch buffers
|
2025-10-26 20:12:09 +01:00 |
|
Folke Lemaitre
|
c956b37246
|
fix(util.job): stop on BufWipeout and BufDelete
|
2025-10-26 20:11:40 +01:00 |
|
Folke Lemaitre
|
17033e67ef
|
fix(util): color() should not create hl groups
|
2025-10-26 20:11:19 +01:00 |
|
Folke Lemaitre
|
3a8ecf5912
|
perf(notifier): stop trying to fit more notifs in the layout after skipping max 10
|
2025-10-26 20:10:56 +01:00 |
|
Folke Lemaitre
|
03872973b3
|
fix(win): scratch buffers were sometimes not deleted
|
2025-10-26 20:10:17 +01:00 |
|
Folke Lemaitre
|
6a132716af
|
feat(picker.buffers): added buftype and filetype for scratch buffers
|
2025-10-26 19:23:47 +01:00 |
|
Folke Lemaitre
|
597ebd4115
|
fix(picker.git_branches): git log preview. Closes #2360
CI / ci (push) Waiting to run
|
2025-10-26 18:27:57 +01:00 |
|
Folke Lemaitre
|
583a0c1c06
|
fix: keymap docs
|
2025-10-26 14:57:03 +01:00 |
|
github-actions[bot]
|
4b3bb54d8b
|
chore(main): release 2.27.0 (#2351)
🤖 I have created a release *beep* *boop*
---
##
[2.27.0](https://github.com/folke/snacks.nvim/compare/v2.26.0...v2.27.0)
(2025-10-26)
### Features
* **keymap:** added new `enabled` option
([b0f21fa](b0f21fa745))
* **picker.proc:** finder to process json
([5294c4f](5294c4f39e))
* **util.job:** simple wrapper around jobstart to work with terminals
(used in dashboards and pickers)
([de05631](de05631e6a))
* **util.lsp:** added overload for `Snacks.util.lsp.on(cb)`
([f33aa20](f33aa2017a))
### Bug Fixes
* **dashboard:** don't add sleep in nushell. Closes
[#1706](https://github.com/folke/snacks.nvim/issues/1706)
([44f71d2](44f71d2113))
* **explorer:** refresh git status on all tabs when needed. Closes
[#2348](https://github.com/folke/snacks.nvim/issues/2348)
([1472211](1472211f9c))
* **explorer:** windows path fixes
([e1dc6b3](e1dc6b3bdd))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
2025-10-26 12:21:57 +01:00 |
|
Folke Lemaitre
|
b0f21fa745
|
feat(keymap): added new enabled option
|
2025-10-26 12:19:40 +01:00 |
|
Folke Lemaitre
|
5294c4f39e
|
feat(picker.proc): finder to process json
|
2025-10-26 11:50:32 +01:00 |
|
Folke Lemaitre
|
1f194746d7
|
refactor(preview): use util.job
|
2025-10-26 11:50:06 +01:00 |
|
Folke Lemaitre
|
a4ed279692
|
style(debug): luals annotations
|
2025-10-26 11:49:49 +01:00 |
|