From 3f44f0761afa579152ba2fd9f2ca12f5cd82fb46 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Fri, 13 Aug 2021 13:17:41 +0530 Subject: [PATCH] fix statusline missing after termclose (#236) --- lua/options.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/options.lua b/lua/options.lua index 15abb39..48d7339 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -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 ]]