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

lua : methods are not recognized #102

Open
rebelot opened this issue May 23, 2022 · 0 comments
Open

lua : methods are not recognized #102

rebelot opened this issue May 23, 2022 · 0 comments

Comments

@rebelot
Copy link

rebelot commented May 23, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant