Problem: There is no way to get the definition of a builtin function
(the number of arguments, their types, the return type) or of a v:
variable (its type, whether it is read-only) from Vim script. A
language server has to parse the help text for it.
Solution: Add exists_info({expr}) which takes the notation of exists()
and returns a Dict with the definition: "*funcname" or "?funcname"
for a builtin function, "v:name" for a predefined Vim variable.
The other notations are not supported yet and return an empty Dict.
https://github.com/vim/vim/pull/21293
(7 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Is this good now? Shall I merge each commit separately or you think a single squashed commit is okay?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Is this good now? Shall I merge each commit separately or you think a single squashed commit is okay?
Yeah. I've squashed the commits. I also updated the PR title and description.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
CI is green. Ready for merge.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()