lazy.nvim/lua/lazy/core/handler
Yaroslav Chvanov 6bd07d0b71
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>
```
2024-12-11 01:42:18 +03:00
..
cmd.lua fix(cmd): shedule error message instead of showing directly 2023-10-17 16:52:32 +02:00
event.lua feat(profiling): merge VeryLazy stats and show startuptime in profile view 2024-07-04 15:17:10 +02:00
ft.lua refactor(handlers): lazy resolving of plugin handlers (#1126) 2023-10-16 22:34:44 +02:00
init.lua feat: add plugin name to handlers.managed 2024-07-11 22:04:06 +02:00
keys.lua feat(keys): add mapping rhs as description for temporary lazy mappings 2024-12-11 01:42:18 +03:00