diff options
| author | Chip Senkbeil <chip@senkbeil.org> | 2026-04-29 09:38:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-29 10:38:20 -0400 |
| commit | d44b0d1f69b56bf7e0059b12f8c75abe0ff61909 (patch) | |
| tree | 2907065eb03be86b850d73e1bc452278b7d37ec3 /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | b07e853f79092422b58370779789ddec78d570bf (diff) | |
| download | rneovim-d44b0d1f69b56bf7e0059b12f8c75abe0ff61909.tar.gz rneovim-d44b0d1f69b56bf7e0059b12f8c75abe0ff61909.tar.bz2 rneovim-d44b0d1f69b56bf7e0059b12f8c75abe0ff61909.zip | |
feat(img): vim.ui.img.del(math.huge) clears all images #39484
Problem:
Similar to clearmatches(), it's always necessary to provide a fallback
that allows the user to do a "global reset" when something goes wrong.
Solution:
vim.img.del(math.huge) clears all images.
Use kitty's d=A command to clear all placements in a single
escape sequence rather than N individual deletes, also freeing stored
image data not referenced by the scrollback buffer.
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions