Skip to content
Snippets Groups Projects
Commit 654a7df9 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[neovim] Set bufhidden and nobuflisted after opening terminal

parent c3aa836e
No related branches found
No related tags found
No related merge requests found
......@@ -317,7 +317,7 @@ function! s:split(dict)
endif
return { '&l:wfw': &l:wfw, '&l:wfh': &l:wfh }
finally
setlocal winfixwidth winfixheight buftype=nofile bufhidden=wipe nobuflisted
setlocal winfixwidth winfixheight
endtry
endfunction
......@@ -368,7 +368,7 @@ function! s:execute_term(dict, command, temps) abort
call s:pushd(a:dict)
call termopen(a:command, fzf)
call s:popd(a:dict, [])
setlocal nospell
setlocal nospell bufhidden=wipe nobuflisted
setf fzf
startinsert
return []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment