mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-11-06 17:31:22 +00:00
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>
```
|
||
|---|---|---|
| .. | ||
| community | ||
| core | ||
| manage | ||
| pkg | ||
| view | ||
| async.lua | ||
| build.lua | ||
| docs.lua | ||
| example.lua | ||
| health.lua | ||
| help.lua | ||
| init.lua | ||
| minit.lua | ||
| state.lua | ||
| stats.lua | ||
| status.lua | ||
| terminal.lua | ||
| types.lua | ||
| util.lua | ||