Merge pull request #174 from G-Rowell/dev-terminalAndScript
Fix term crash bug, no auto-close finished term anymore
This commit is contained in:
commit
766d52db12
|
@ -1,8 +1,7 @@
|
|||
-- hide line numbers , statusline in specific buffers!
|
||||
vim.api.nvim_exec(
|
||||
[[
|
||||
au TermOpen term://* setlocal nonumber laststatus=0
|
||||
au TermClose term://* bd!
|
||||
au TermOpen term://* setlocal nonumber laststatus=0
|
||||
au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
|
||||
]],
|
||||
false
|
||||
|
|
Loading…
Reference in New Issue