Christian Clason
Christian Clason
Oh, of course, that's a typo (missing brace closing the first clause). 🤦 Thanks for rubber-ducking, and sorry for wasting your time! Looks like this PR is doing its work...
Cannot reproduce. Please test with the latest version of Neovim (nightly from the release page) and provide minimal reproducible steps (including a minimal neovim config!), then open an issue at...
What is the benefit over the already existing nvim API for this?
That was a different time. New additions need to stand on their own feet.
By which I mean to say, what is the QoL exactly?
The opposition here is not to a `vim.keymap.get` per se, it's to only(!) adding a thin wrapper around existing API. (Compare to `vim.keymap.set`, which was created to address UX shortcomings...
If there is no interest by the OP in engaging in a wider discussion, I guess so.
We're still waiting for the promised before/after for your proposal...
Does it work with Lua functions as rhs?
The latter, especially for the `get`--`set` use case. (The former doesn't really make sense.)