There was an error while loading. Please reload this page.
1 parent b85ff8e commit eac1684Copy full SHA for eac1684
rplugin/python3/LanguageClient/state.py
@@ -172,14 +172,15 @@ def echo_signature(signature: str, activeParameter: str = None) -> None:
172
"""
173
if activeParameter is None:
174
echo(signature)
175
+ return
176
parts = signature.split(activeParameter, 1)
177
if (len(parts) != 2):
- # active paramter is not part of a signature
178
+ # active parameter is not part of a signature
179
180
return
181
[begin, end] = parts
182
execute_command("echon '{}' | echohl Bold | echon '{}' | echohl None | echon '{}'".format(
- begin, activeParameter, end
183
+ escape(begin), escape(activeParameter), escape(end)
184
))
185
186
0 commit comments