Skip to content

Commit 91ea97a

Browse files
Hugo Chinchilla CarbonellKronuz
authored andcommitted
Fix error in tooltip caused by trailing whitespace on variable name
1 parent 8def431 commit 91ea97a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

SublimeCodeIntel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ def tooltip(view, calltips, original_pos):
204204
for i, p in enumerate(params):
205205
if p:
206206
var, _, _ = p.partition('=')
207+
var = var.strip()
207208
if ' ' in var:
208209
var = var.split(' ')[1]
209210
if var[0] == '$':

0 commit comments

Comments
 (0)