Skip to content

Commit d18e45e

Browse files
committed
Fix meta-repl window detection
1 parent 6f67d02 commit d18e45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rplugin/python3/acid/handlers/meta_repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Handler(SingletonHandler):
8080

8181
def ensure_win_exists(self):
8282
no_shared_buffer = self.buf_nr is None
83-
has_no_window = self.nvim.funcs.bufwinnr(self.buf_nr) == -1
83+
has_no_window = no_shared_buffer or self.nvim.funcs.bufwinnr(self.buf_nr) == -1
8484

8585
log_debug("buf_nr is {}", self.buf_nr)
8686
log_debug("has window? {}", has_no_window)

0 commit comments

Comments
 (0)