Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default value for insertTextFormat #4124

Merged
merged 2 commits into from
Apr 1, 2022

Conversation

JD557
Copy link
Contributor

@JD557 JD557 commented Mar 25, 2022

As per the spec (https://microsoft.github.io/language-server-protocol/specification#textDocument_completion), insertTextFormat should default to InsertTextFormat.PlainText when ommited.

Unfortunately, I'm not very familiar with viml develpment and couldn't run the ./run-tests script (I keep getting an error that the image is not known, even with --build-image), so I ended up not writing any tests nor checking if the current tests pass...

Copy link
Member

@w0rp w0rp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a test for this.

@w0rp w0rp enabled auto-merge (squash) April 1, 2022 12:38
@w0rp w0rp merged commit bc406a8 into dense-analysis:master Apr 1, 2022
cyyever pushed a commit to cyyever/ale that referenced this pull request Jul 11, 2022
cyyever pushed a commit to cyyever/ale that referenced this pull request Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants