Skip to content

Snippet for pushing element to array #1015

Description

@Silzinc

Hello! Another snippet that I used quite often with LuaLS completes someTable[<CURSOR>] into someTable[#someTable + 1] = <CURSOR>. I have not found it with emmylua, is it already implemented? How do I trigger it if it is? Thanks in advance!

Activity

  1. added theissue type on Jun 19, 2026
  2. linked a pull request that will close this issueupdate #1113on Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions