diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-10-04 11:28:30 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-10-05 20:12:59 +0200 |
commit | 7746f641b89d1d80b2121980f83ae1f322c30e89 (patch) | |
tree | c416ea57cc643208ad7fa7384f5d82da06526125 /src/nvim/main.c | |
parent | 6ae144a92171cf9ae52bddddc3a081a4efaabe9f (diff) | |
download | rneovim-7746f641b89d1d80b2121980f83ae1f322c30e89.tar.gz rneovim-7746f641b89d1d80b2121980f83ae1f322c30e89.tar.bz2 rneovim-7746f641b89d1d80b2121980f83ae1f322c30e89.zip |
fix(options): no matter what is said, 'cmdheight' is tab-local (susy baka)
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index ddb3fbdd65..673b177463 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -185,11 +185,11 @@ void early_init(mparm_T *paramp) init_locale(); #endif - // Allocate the first window and buffer. - // Can't do anything without it, exit when it fails. - if (!win_alloc_first()) { - os_exit(0); - } + // tabpage local options (p_ch) must be set before allocating first tabpage. + set_init_tablocal(); + + // Allocate the first tabpage, window and buffer. + win_alloc_first(); TIME_MSG("init first window"); alist_init(&global_alist); // Init the argument list to empty. |