nvim-gps icon indicating copy to clipboard operation
nvim-gps copied to clipboard

lua `:` methods are not recognized

Open rebelot opened this issue 3 years ago • 0 comments

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

rebelot avatar May 23 '22 10:05 rebelot