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

Merged
merged 1 commit into from
Jan 13, 2025

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
@sumneko sumneko merged commit 389744b into LuaLS:master Jan 13, 2025
10 of 11 checks passed
@sumneko
Copy link
Collaborator

sumneko commented Jan 13, 2025

谢谢!

@Issues-translate-bot
Copy link

Sumneko Lua translate bot


Thanks!

@andrewbraxton andrewbraxton deleted the dev/fix-insertTextFormat branch January 14, 2025 02:09
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)
3 participants