Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

lua : methods are not recognized #102

@rebelot

Description

@rebelot

In lua, methods definitions using colon are not recognized.

compare

local MyClass = {}
function MyClass:new(obj)
    -- <cursor>
end

gps:

local MyClass = {}
function MyClass.new(self, obj)
     -- <cursor>
end

gps:  MyClass >  new

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