diff options
| author | luukvbaal <luukvbaal@gmail.com> | 2025-06-27 15:54:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-27 15:54:32 +0200 |
| commit | bfe42c84de053abe125f7a61116bc8a97ec32cde (patch) | |
| tree | 6c02eccd6a5b3634b79e502ec23f7fad0aec2fe6 /runtime/lua/vim/_editor.lua | |
| parent | 64753b5c37cf9d0d3aa2ced068d749cdab43e250 (diff) | |
perf(extui): delay creating windows, buffers and parser (#34665)
Problem: vim._extui unconditionally creates windows, buffers and the
Vimscript cmdline highlighter when it is first loaded.
Solution: Schedule first creation of the window so that first redraw
happens sooner (still need to create at least the cmdline
window asap as it can have a different highlight through
hl-MsgArea; thus further delaying until the first event that
needs a particular target seems redundant). Load the cmdline
highlighter on the first cmdline_show event.
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions
