diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2025-12-08 13:09:06 -0700 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2025-12-09 09:52:14 -0700 |
| commit | 6c519e91c684838bebcc6d49d894af956f6815b4 (patch) | |
| tree | 0bf7da238ca7f66d769b1924cababcf6c50e5ea3 /lua/lexers/pascal.lua | |
| parent | 82865164562201d6a21b25c32273e75b65e2c7a2 (diff) | |
| download | vis-6c519e91c684838bebcc6d49d894af956f6815b4.tar.gz vis-6c519e91c684838bebcc6d49d894af956f6815b4.tar.xz | |
vis-lua: add file:snapshot method
A number of plugins, for example vis-spellcheck[0], want to
perform bulk edits on the file text. They may desire for those
edits to be split into multiple undo/redo points. This is
achievable by switching the mode between insert and normal mode
but that has other side effects. Instead introduce a method of
doing this directly.
[0]: https://gitlab.com/muhq/vis-spellcheck
Diffstat (limited to 'lua/lexers/pascal.lua')
0 files changed, 0 insertions, 0 deletions
