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

fix(completion): use args table instead of args string to parse snippet #1016

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

kevinhwang91
Copy link
Contributor

For now, we parse the @param f fun(a: any, b: any) as two placeholders instead of one.
BTW, use table have a slightly better performance than spliting args string.

For now, we parse the `@param f fun(a: any, b: any)` as two placeholders instead of one.
BTW, use table have a slightly better performance than spliting args string.
@sumneko sumneko merged commit 094dccd into LuaLS:master Apr 4, 2022
@kevinhwang91 kevinhwang91 deleted the fix-func-arg-for-callSnippet branch April 4, 2022 13:37
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