Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Set default value for insertTextFormat#4124

Merged
w0rp merged 2 commits intodense-analysis:masterdense-analysis/ale:masterfrom
JD557:default-insert-text-formatJD557/ale:default-insert-text-formatCopy head branch name to clipboard
Apr 1, 2022
Merged

Set default value for insertTextFormat#4124
w0rp merged 2 commits intodense-analysis:masterdense-analysis/ale:masterfrom
JD557:default-insert-text-formatJD557/ale:default-insert-text-formatCopy head branch name to clipboard

Conversation

@JD557
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.