kassio/neoterm

Window gets resized, even with neoterm_fixedsize = '1'

tuxflo opened this issue · 0 comments

Describe the bug
When using neoterm in combination with fugitive.vim the terminal gets resized after using :Gstatus even if neoterm_fixedsize is set to '1'

These are my neoterm settings:

let g:neoterm_default_mod = 'belowright'
let g:neoterm_size = 10
let g:neoterm_fixedsize = '1'
let g:neoterm_autoscroll = '1'
let g:neoterm_autoinsert=1

To Reproduce
Steps to reproduce the behavior:

  1. Opened a buffer in a git repo
  2. Open a terminal using :Ttoggle
  3. Switch back to buffer
  4. Open a git status window using :30Gstatus
  5. -> Neoterm window is bigger than before

Expected behavior
When neoterm_fixedsize is set to '1' the terminal window has the same size after closing the git status window

Screenshots
Before running git status:
image

During git status:
image

After git status:
image

Versions (please complete the following information):

  • OS: ubuntu
  • neoterm commit f6c22fd
  • Vim or Neovim
    • Neovim
    • Vim
  • Version NVIM v0.5.0-dev