fix bad argument name for CompletionItem

Why does it pop up now?
This commit is contained in:
Adrien Abraham 2024-10-14 12:36:46 +02:00
parent 76d8723ff5
commit 49117b1b22
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ async def do_completion(
filter_text=name, filter_text=name,
kind=get_lsp_completion_kind(jedi_completion.type), kind=get_lsp_completion_kind(jedi_completion.type),
sort_text=name, sort_text=name,
insert_text_name=name, insert_text=name,
insert_text_format=InsertTextFormat.PlainText, insert_text_format=InsertTextFormat.PlainText,
) )
completion_items.append(item) completion_items.append(item)

View file

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[tool.poetry] [tool.poetry]
name = "italianswirls" name = "italianswirls"
version = "1.1.0" version = "1.1.1"
description = "Minimal Python language server based on Jedi" description = "Minimal Python language server based on Jedi"
authors = ["dece <shgck@pistache.land>"] authors = ["dece <shgck@pistache.land>"]
readme = "README.md" readme = "README.md"