Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding PHP eval support

  • Loading branch information...
commit 6e1dd327464c0ab5e76df3154343887c098fa73d 1 parent 945c9e2
@jaredly authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 vim_phpdebug/subwindows.py
View
5 vim_phpdebug/subwindows.py
@@ -82,7 +82,10 @@ def set_result(self, line, node):
l = len(self.results.buffer)
for a in range(len(self.results.buffer)-1, line):
self.results.buffer.append('')
- self.results.buffer[line] = str(get_text(node))
+ res = str(get_child_text(node, 'property'))
+ if not res:
+ res = str(get_text(node))
+ self.results.buffer[line] = res
def get_text(node):
if not hasattr(node.firstChild, 'data'):
Please sign in to comment.
Something went wrong with that request. Please try again.