[neovim] Do not resize if the size of the screen has changed

Related #642
This commit is contained in:
Junegunn Choi 2016-08-28 19:26:47 +09:00
parent 411ec2e557
commit d87390934e
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -467,7 +467,7 @@ function! s:execute_term(dict, command, temps) abort
execute 'bd!' self.buf
endif
if &lines <= self.lines && &columns <= self.columns && s:getpos() == self.ppos
if &lines == self.lines && &columns == self.columns && s:getpos() == self.ppos
execute self.winrest
endif