nvim: Put window resize in autocmd group

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-01-19 19:48:28 +05:30
parent c3bda249af
commit 4a18370609

View file

@ -485,8 +485,10 @@ augroup spell_check
autocmd BufRead,BufNewFile *.md,*.txt setlocal spell
augroup END
" Automatically resize the window
autocmd VimResized * wincmd =
augroup ResizeWindowsProportionally
au!
autocmd VimResized * :wincmd =
augroup END
augroup LSP
au!