Skip to content

Commit b303da8

Browse files
committed
Remove empty lines after expanding element, fix #119
1 parent a9cdb29 commit b303da8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugin/python/vdebug/ui/vimui.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,10 @@ def __create_tabs(self):
532532
if self.current_context == id:
533533
name = "*"+name
534534
res.append("[ %s ]" % name)
535-
return " ".join(res) + "\n\n"
535+
if res:
536+
return " ".join(res) + "\n\n"
537+
else:
538+
return ""
536539

537540
def __render_property(self,p,next_p,last = False,indent = 0):
538541
line = "%(indent)s %(marker)s %(name)s = (%(type)s)%(value)s" \

0 commit comments

Comments
 (0)