Closed pyericz closed 4 years ago
yep, tracked as #14. Right now there isn't a special case for self, but it would definitely be handy to assume that the first parameter of a method call is an object that looks like setmetatable({}, {__index = module}) and follow references/track mutations accordingly
duplicate
I'm using neoclide/coc.nvim as language client support in my vim editor. However, when I move the cursor to
self:foo()
inside themodule:bar()
function, and trygd
key, which is mapped to<Plug>(coc-definition)
, it will output the error about finding no definition.