Commit graph

11 commits

Author SHA1 Message Date
Liu Zehao
943a3c7d4a
fix(dim): fixed the issue of dim's scope variable being nil and outputting… (#1938)
## Description

During my use of dim, I found that an empty document can cause Snacks to
output error messages, resulting in an instant freeze when opening an
empty file

## Related Issue(s)

- Fixes #1810 

## Screenshots
before change

![before-fix-dim](https://github.com/user-attachments/assets/203791d7-629a-4650-9c87-a04fb81bad3d)


after change

![after-fix-dim](https://github.com/user-attachments/assets/44097f7d-2229-4407-8868-388e758774b5)
2025-10-14 18:29:08 +02:00
Folke Lemaitre
47e1440d54
fix(dim): check that win is valid when animating dim. Closes #1342 2025-02-20 17:17:17 +01:00
Folke Lemaitre
50912dc2fd
feat(animate): allow toggling buffer-local / global animations with or without id 2024-12-12 09:18:54 +01:00
Folke Lemaitre
25c290d7c0
feat(animate): allow disabling all animations globally or per buffer 2024-12-12 08:44:19 +01:00
Folke Lemaitre
69018d070c
fix(dim): check if win still exist when animating. Closes #259 2024-12-11 22:53:55 +01:00
Folke Lemaitre
8e8b4f6be1
docs: cleanup 2024-12-10 13:59:35 +01:00
Folke Lemaitre
98782f9fa3 docs: docgen 2024-12-10 13:55:51 +01:00
Folke Lemaitre
140204fde5 build: added metadata to plugins 2024-12-10 13:55:51 +01:00
Folke Lemaitre
aa5d00936d refactor(animate): class / docs / cleanup 2024-12-10 13:55:51 +01:00
Folke Lemaitre
5352198b5a fix(indent): use correct config options 2024-12-10 13:55:51 +01:00
Folke Lemaitre
4dda5516e8 feat(dim): added dim plugin 2024-12-10 13:55:51 +01:00