aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-07-19 03:14:23 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2018-07-19 03:14:23 +0200
commita5d1bc6791f823f6ad831293c70f1b09ad116fce (patch)
treec9c8aae7fdc2c515161b89a2d2765ff901ad115b
parent70c60dc46b2b63d2b7d98a4995537bebd4e95dcb (diff)
downloaddotfiles-a5d1bc6791f823f6ad831293c70f1b09ad116fce.tar.xz
nvim/init: Add workaround for https://github.com/neovim/neovim/issues/7861
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--nvim/init.vim5
1 files changed, 5 insertions, 0 deletions
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!