Skip to content

Commit

Permalink
Trying this to figure out the CLI issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
magregor committed Apr 17, 2018
1 parent f86abc0 commit 3715ee6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rplugin/python3/vim_pudb.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def cbname(self):
['filename', 'lineno'])

def __init__(self, nvim):
super().__init__()
self.nvim = nvim
# update the __logger__ to use neovim for messages
nvimhandler = NvimOutLogHandler(nvim)
Expand All @@ -80,6 +79,12 @@ def __init__(self, nvim):
__logger__.addHandler(nvimhandler)
# TODO: enable only for messages debug output
# __logger__.setLevel(logging.DEBUG)
# define our sign command
# force first_eval, TODO: remove setup function if this works
self._first_eval = True
nvim.command(':sign define {} text={} texthl={}'.format(
self._sgnname, self._bpsymbol, self._hlgroup))
super().__init__()

def iter_breakpoints(self, buffname=None):
"""iter_breakpoints
Expand Down

0 comments on commit 3715ee6

Please sign in to comment.