Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
haolian9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks, I recently want to add some custom diagnostics into lua-langserver, but I have no background knowledges on this, can you give some quick/simple guides? like the relevant 3rd libs, files and functions or an example PR which I can learn from.
At now I just learnt how to build it :).
to be exact, the custom diagnostics I want to add are:
self
specially without additional---@param
anonation, and report errors onobj.method
, maybe a code action for this can be addedif (obj ~= nil)
, and maybe a code action to convert it toif (obj)
I'm not expecting them can be added to the upstream, I just want to try it out to see if it's useful eventually.
Several minutes later, i found a great example in this pr.
Beta Was this translation helpful? Give feedback.
All reactions