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

Table member completion broken by "fix #539" commit #555

Closed
stormc opened this issue Jun 2, 2021 · 0 comments
Closed

Table member completion broken by "fix #539" commit #555

stormc opened this issue Jun 2, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@stormc
Copy link
Contributor

stormc commented Jun 2, 2021

The fix for #539 in f8917bd breaks table member completion:
Prior to this commit, this minimal example

mytab = {
    value = true,
}
mytab.<trigger_completion_here>

correctly yielded value as (only) completion.

After this commit, value is also offered as (last) completion but with keywords, globals, ... preceding it in sortOrder.

So it seems like a bug since keywords like do, and, break, ... as well as globals like _G are not a correct completion at this point?

@sumneko sumneko added the bug Something isn't working label Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants