nvim: Put window resize in autocmd group
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
c3bda249af
commit
4a18370609
1 changed files with 4 additions and 2 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue