Python-language-server: Completion item insertTextFormat property should be only 1 or 2

Created on 3 Nov 2018  路  1Comment  路  Source: microsoft/python-language-server

Completion items are returning with insertTextFormat properties set to 0. For example:

        {
          "label": "and",
          "kind": 14,
          "detail": null,
          "documentation": null,
          "sortText": "1",
          "filterText": null,
          "preselect": null,
          "insertText": "and",
          "insertTextFormat": 0,
          "textEdit": null,
          "additionalTextEdits": null,
          "commitCharacters": null,
          "command": null,
          "data": null,
          "_kind": "keyword",
          "_values": null
        }

The spec is here (Search for InsertTextFormat). According to the spec, insertTextFormatbe either 1 or 2.

I believe this is the last item that should get completion working in vim/neovim via https://github.com/autozimu/LanguageClient-neovim.

Thank you for this tool!

bug intellisense

Most helpful comment

Thank you again for taking the time to find this, @johngalambos! 馃槂

>All comments

Thank you again for taking the time to find this, @johngalambos! 馃槂

Was this page helpful?
0 / 5 - 0 ratings