fix statusline missing after termclose (#236)
This commit is contained in:
parent
c7fdd68072
commit
3f44f0761a
@ -68,6 +68,7 @@ end
|
||||
|
||||
-- Don't show status line on vim terminals
|
||||
vim.cmd [[ au TermOpen term://* setlocal nonumber laststatus=0 ]]
|
||||
vim.cmd [[ au TermClose term://* setlocal number laststatus=2 ]]
|
||||
|
||||
-- Open a file from its last left off position
|
||||
-- vim.cmd [[ au BufReadPost * if expand('%:p') !~# '\m/\.git/' && line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif ]]
|
||||
|
Loading…
Reference in New Issue
Block a user