Commit f37abc32 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix toggleterm when window is manually closed

parent 4143d15b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ function s:toggle(num)
	else
		let l:term = s:hot_terms[a:num]
	endif
	if exists("t:term_window")
	if exists("t:term_window") && 0 != win_id2win(t:term_window)
		call l:term.toggle(t:term_window)
	else
		call l:term.expand(v:true)