Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(keys): add mapping rhs as description for temporary lazy mappings
Fixes `:map` not showing what the mapping does until the plugin is loaded. With lazy mapping `{ "<Leader>f", "<Cmd>FzfLua files<CR>" },` `:map` now shows: ``` n <Space>f * <Lua 79: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:126> <Cmd>FzfLua files<CR> ``` How `:map` looks after the plugin is loaded: ``` n <Space>f * <Cmd>FzfLua files<CR> ```
- Loading branch information