Skip to content

Commit

Permalink
Merge pull request #24 from rinx/rinx/fix-window-detection
Browse files Browse the repository at this point in the history
Fix a bug on meta-repl window detection
  • Loading branch information
hkupty committed Oct 6, 2018
2 parents 6f67d02 + d18e45e commit ac0af82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rplugin/python3/acid/handlers/meta_repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Handler(SingletonHandler):

def ensure_win_exists(self):
no_shared_buffer = self.buf_nr is None
has_no_window = self.nvim.funcs.bufwinnr(self.buf_nr) == -1
has_no_window = no_shared_buffer or self.nvim.funcs.bufwinnr(self.buf_nr) == -1

log_debug("buf_nr is {}", self.buf_nr)
log_debug("has window? {}", has_no_window)
Expand Down

0 comments on commit ac0af82

Please sign in to comment.