mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-11-07 01:41:07 +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>
```
|
||
|---|---|---|
| .. | ||
| cmd.lua | ||
| event.lua | ||
| ft.lua | ||
| init.lua | ||
| keys.lua | ||