fix statusline missing after termclose (#236)

navigator
siduck76 3 years ago
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…
Cancel
Save