Skip to content

Commit

Permalink
try not to use r", maybe that will fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
predragnikolic committed Sep 28, 2022
1 parent c5e76d6 commit 4bbb7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/core/signature_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _render_label(self, view: sublime.View, signature: SignatureInformation) ->
# route relies on the client being smart enough to figure where the parameter is inside of
# the signature label. The above case where the label is a tuple of (start, end) positions is much
# more robust.
label_match = re.search(r"\W{}\W".format(rawlabel), label[prev:])
label_match = re.search("\\W{}\\W".format(rawlabel), label[prev:])
start = -1
if label_match:
start = label_match.start() + 1 # skip the first matched \W by adding + 1
Expand Down

0 comments on commit 4bbb7c6

Please sign in to comment.