Skip to content

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

Description

@stormc

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions