Fix term crash bug, no auto-close finished term anymore

This commit is contained in:
Galen Rowell 2021-07-22 17:45:47 +10:00
parent 020daec5fc
commit 652f703767

View File

@ -2,7 +2,6 @@
vim.api.nvim_exec(
[[
au TermOpen term://* setlocal nonumber laststatus=0
au TermClose term://* bd!
au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
]],
false