Commit graph

15 commits

Author SHA1 Message Date
Folke Lemaitre
bc902f7032
feat(compat): added svim, a compatibility layer for Neovim. Closes #1321 2025-02-20 06:59:44 +01:00
Folke Lemaitre
8272c1c66f
fix(all): better support for opening windows / pickers / ... on multiple tab pages. Closes #1043 2025-02-10 11:24:13 +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
5200a8baa5
fix(scratch): normalize filename 2024-12-13 13:23:36 +01:00
Folke Lemaitre
33fbb309f8
fix(compat): fixes for Neovim < 0.10 2024-12-11 23:20:28 +01:00
Folke Lemaitre
140204fde5 build: added metadata to plugins 2024-12-10 13:55:51 +01:00
Folke Lemaitre
d6309c62b8 feat(util): set_hl no longer sets default=true when not specified 2024-12-10 13:55:51 +01:00
Folke Lemaitre
0df7a08b01
fix(scratch): sort keys. Fixes #193 2024-12-03 09:45:44 +01:00
Folke Lemaitre
50bd5103ba
fix(scratch): make sure win.opts.keys exists. See #190 2024-12-03 09:18:10 +01:00
Folke Lemaitre
652303e6de
feat(scratch): opts.ft can now be a function and defaults to the ft of the current buffer or markdown 2024-12-02 21:03:49 +01:00
Folke Lemaitre
6c25ab1108
fix(scratch): floating window title/footer hl groups 2024-12-02 21:03:11 +01:00
Folke Lemaitre
6db50cfe2d
fix(scratch): always set filetype on the buffer. Fixes #179 2024-12-01 20:06:04 +01:00
Folke Lemaitre
32c46b4e2f
feat(scratch): use Snacks.debug.run() to execute buffer/selection 2024-12-01 12:46:52 +01:00
Folke Lemaitre
7db0ed4239
feat(scratch): change keymap to execute buffer/selection to <cr> 2024-12-01 12:46:24 +01:00
Folke Lemaitre
1cec695fef
feat(snacks): added new scratch snack 2024-12-01 09:08:03 +01:00