diff options
author | Jason Woofenden <jason@jasonwoof.com> | 2019-05-10 15:53:47 -0400 |
---|---|---|
committer | Jason Woofenden <jason@jasonwoof.com> | 2019-05-10 15:53:47 -0400 |
commit | 706489395659a786291d475b989eb545071a5a30 (patch) | |
tree | 3d71963ce10092ea908d7a9f425cd038fef76061 /python3 | |
parent | 903305f8e7895cddf838639e9280fb73568cfe69 (diff) | |
download | vdebug-706489395659a786291d475b989eb545071a5a30.zip |
fix not-"expanded" mode in watch window
Diffstat (limited to 'python3')
-rw-r--r-- | python3/vdebug/event.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python3/vdebug/event.py b/python3/vdebug/event.py index 924b928..49eb893 100644 --- a/python3/vdebug/event.py +++ b/python3/vdebug/event.py @@ -146,7 +146,8 @@ class WatchWindowPropertyGetEvent(Event): context_res = self.api.property_get(name) rend = vimui.ContextGetResponseRenderer(context_res) output = rend.render(pointer_index - 1) - self.ui.windows.watch().delete(lineno, lineno+1) + if opts.Options.get('watch_window_style') == 'expanded': + self.ui.windows.watch().delete(lineno, lineno+1) self.ui.windows.watch().insert(output.rstrip(), lineno-1, True) |