Files
neovim/src/nvim/api
gmntroll 8b0e6cc05d fix(api): fix crash after set_option_value_for() #15390
Problem:
This crashes Nvim:
    tabedit
    call nvim_win_set_option(1000, 'statusline', 'status')
    split
    wincmd J
    wincmd j

Solution:
- Change `no_display` parameter value to be the same as in matching
  `restore_win_noblock` call. In case of different values `topframe`
  isn't restored to `curtab->tp_topframe`.
- Call `restore_win_noblock` if `switch_win_noblock` returns `FAIL`
  (`switch_win` must always have matching `restore_win`)
- Change `switch_win`/`restore_win` to `_noblock` versions to allow
  autocommands.

fixes #14097
fixes #13577
2021-09-25 17:48:06 -07:00
..
2021-09-18 09:34:23 -07:00
2021-09-18 09:34:23 -07:00
2021-09-18 09:34:23 -07:00
2021-09-18 09:34:23 -07:00
2021-09-18 09:34:23 -07:00
2021-09-18 09:34:23 -07:00