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

Mark function completion items as snippets #3022

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewbraxton
Copy link
Contributor

The PR #3005 assumed that all snippets were setting insertTextFormat to 2 and leaving plaintext completions nil, but that was not the case. Function completions need to be marked as snippets too.

fixes #3021

The PR LuaLS#3005 assumed that all snippets were setting `insertTextFormat`
to 2 and leaving plaintext completions nil, but that was not the case.
Function completions need to be marked as snippets too.

fixes LuaLS#3021
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.

function snippet seems broken by PR #3005 in non released latest master (after v3.13.5)
1 participant