tpope / vim-obsession

obsession.vim: continuously updated session files
http://www.vim.org/scripts/script.php?script_id=4472
1.76k stars 70 forks source link

[ Bug ] cmdheight after restore is incorrect #80

Open pronvis opened 10 months ago

pronvis commented 10 months ago

I have issue with NVIM v0.9.4 and use('tpope/vim-obsession').

I have vim.opt.cmdheight = 2 at 41 line in set.lua and if I open nvim with nvim -S -V9nvimlog to restore session from Session.vim and save log file. In log file I found:

  cmdheight=1
    Last set from ~/config_repo/nvim/lua/pronvis/set.lua line 41

which is weird... However if I open nvim with just nvim (without restoring session) then cmdheight value is 2 like in my config file.

link to my comment on similar issue: https://github.com/rmagatti/auto-session/issues/64#issuecomment-1870672047