mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 21:40:37 +00:00
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 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
||||||
vim.api.nvim_exec(
|
vim.api.nvim_exec(
|
||||||
[[
|
[[
|
||||||
au TermOpen term://* setlocal nonumber laststatus=0
|
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
|
au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
|
||||||
]],
|
]],
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in a new issue