Skip to content

Commit

Permalink
Completion item documentation is in PlainText
Browse files Browse the repository at this point in the history
  • Loading branch information
pappasam committed May 17, 2020
1 parent 44292b9 commit 5e2bc3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jedi_language_server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ def completion(
label=completion.name,
kind=get_lsp_completion_type(completion.type),
detail=completion.description,
documentation=completion.docstring(),
documentation=MarkupContent(
kind=MarkupKind.PlainText, value=completion.docstring()
),
sort_text=jedi_utils.complete_sort_name(completion),
insert_text=pygls_utils.clean_completion_name(
completion.name, char
Expand Down

0 comments on commit 5e2bc3b

Please sign in to comment.