Skip to content

Commit c3b362e

Browse files
authored
Fix the completion of include_function_objects (#306)
1 parent 789c2a6 commit c3b362e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pylsp/plugins/jedi_completion.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ def pylsp_completions(config, document, position):
100100
if c.type == 'function':
101101
completion_dict = _format_completion(
102102
c,
103-
False,
103+
markup_kind=preferred_markup_kind,
104+
include_params=False,
104105
resolve=resolve_eagerly,
105106
resolve_label_or_snippet=(i < max_to_resolve)
106107
)

0 commit comments

Comments
 (0)