From a5d1bc6791f823f6ad831293c70f1b09ad116fce Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 19 Jul 2018 03:14:23 +0200 Subject: nvim/init: Add workaround for https://github.com/neovim/neovim/issues/7861 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nvim/init.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nvim/init.vim b/nvim/init.vim index 4713c93..97f4f05 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -167,3 +167,8 @@ augroup indentation autocmd! autocmd FileType yaml setlocal ts=2 sts=2 sw=2 noet augroup END + + +" Horrible hack to work-around weird corrupted lines on window resize +" https://github.com/neovim/neovim/issues/7861 +autocmd VimResized * redraw! -- cgit v1.2.3-70-g09d2