-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Labels
editor-statesave/restore editor state: shada, context, ctx, sessions, mksession, undo, swapsave/restore editor state: shada, context, ctx, sessions, mksession, undo, swapfloatwinfloating windows, popups, hoverfloating windows, popups, hover
Milestone
Description
Problem
After enabling vim._extui, Neovim does not save window sizes in the session file.
diff Session-before.vim Session.vim
30,31c30
< exe 'vert 1resize ' . ((&columns * 30 + 87) / 174)
< exe 'vert 2resize ' . ((&columns * 143 + 87) / 174)
---
> wincmd =
54,55c53
< exe 'vert 1resize ' . ((&columns * 30 + 87) / 174)
< exe 'vert 2resize ' . ((&columns * 143 + 87) / 174)
---
> wincmd =Steps to reproduce
nvim --clean
:30vnew
:lua require("vim._extui").enable{}
:mksession! Session.vim | source Session.vim
Expected behavior
Restore window sizes.
Nvim version (nvim -v)
NVIM v0.12.0-dev-1998+g272ec9627c
Vim (not Nvim) behaves the same?
no
Operating system/version
Arch Linux
Terminal name/version
alacritty 0.16.1 (42f49eeb)
$TERM environment variable
alacritty, tmux-256color
Installation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
editor-statesave/restore editor state: shada, context, ctx, sessions, mksession, undo, swapsave/restore editor state: shada, context, ctx, sessions, mksession, undo, swapfloatwinfloating windows, popups, hoverfloating windows, popups, hover