aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-09-28 11:56:08 +0200
committerbfredl <bjorn.linse@gmail.com>2024-09-28 20:23:22 +0200
commit76163590f0b1a39e281446b6b6b17d00b0dcae15 (patch)
treeb28b26aacb9a71348ba60ba375d246d869ca09bb /runtime/lua/vim/_editor.lua
parentd5f6f61879bac3ac90512efe05d68e3500125a08 (diff)
downloadrneovim-76163590f0b1a39e281446b6b6b17d00b0dcae15.tar.gz
rneovim-76163590f0b1a39e281446b6b6b17d00b0dcae15.tar.bz2
rneovim-76163590f0b1a39e281446b6b6b17d00b0dcae15.zip
refactor(event): change last use of klist to kvec
loop->children might have been a linked list because used to be modified in place while looped over. However the loops that exists rather schedules events to be processed later, outside of the loop, so this can not happen anymore. When a linked list is otherwise useful it is better to use lib/queue_defs.h which defines an _intrusive_ linked list (i e it doesn't need to do allocations for list items like klist ).
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions