Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Completion item insertTextFormat property should be only 1 or 2 #342

Closed
@johngalambos

Description

@johngalambos

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, insertTextFormat be 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!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions