From 3715ee6c6a5233ce402b33cd5d18a4d07f62b1aa Mon Sep 17 00:00:00 2001 From: magregor Date: Tue, 17 Apr 2018 04:53:45 -0400 Subject: [PATCH] Trying this to figure out the CLI issue #1 --- rplugin/python3/vim_pudb.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rplugin/python3/vim_pudb.py b/rplugin/python3/vim_pudb.py index 87aa182..f07f1d5 100644 --- a/rplugin/python3/vim_pudb.py +++ b/rplugin/python3/vim_pudb.py @@ -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) @@ -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