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

Description

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!

Activity

  1. jakebailey commented on Nov 5, 2018

    @jakebailey
    Member

    Thank you again for taking the time to find this, John Galambos (@johngalambos)! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugfeature: intellisense

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions