mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
fix statusline missing after termclose (#236)
This commit is contained in:
parent
c7fdd68072
commit
3f44f0761a
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ end
|
||||||
|
|
||||||
-- Don't show status line on vim terminals
|
-- Don't show status line on vim terminals
|
||||||
vim.cmd [[ au TermOpen term://* setlocal nonumber laststatus=0 ]]
|
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
|
-- 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 ]]
|
-- vim.cmd [[ au BufReadPost * if expand('%:p') !~# '\m/\.git/' && line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif ]]
|
||||||
|
|
Loading…
Reference in a new issue