Skip to content

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