aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorRafael Bodill <justrafi@gmail.com>2016-12-04 18:22:34 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-12-10 04:05:07 +0100
commitf344e40699e136a5185502ac661e64ec1b5f4184 (patch)
tree723077637c0ae2d9019152a52012ed4e820f18c9 /src/nvim/api/vim.c
parent2380747ff2ea7bb801b7e92cbe30832fa75cb622 (diff)
downloadrneovim-f344e40699e136a5185502ac661e64ec1b5f4184.tar.gz
rneovim-f344e40699e136a5185502ac661e64ec1b5f4184.tar.bz2
rneovim-f344e40699e136a5185502ac661e64ec1b5f4184.zip
ex_docmd.c: Save/restore winminheight/winminwidth. #5717
Fix session load with winminheight/winminwidth >1. Problem: Vim temporarily sets winheight/winwidth to 1 while loading session. If user has his minimum window size set higher, this causes an error. Solution: Temporarily set winminheight/winminwidth, and restore the original values (in the right order) when finishing session read. The order of the compound 'set' command is important, if it is wrong there will be an error.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions