Skip to content

Commit

Permalink
fix(docs): Update lazy.nvim integration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 authored Apr 12, 2024
1 parent ee684fd commit ecfcdea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ keymaps where you define the plugin, and `legendary.nvim` automatically detects

-- where you set up legendary.nvim
-- now the keymaps from the `flash.nvim` plugin spec will be automatically loaded
require('legendary').setup({ lazy_nvim = { auto_register = true } })
require('legendary').setup({ extensions = { lazy_nvim = true } })
```

Otherwise, register keymaps, commands, autocmds, and functions through setup, including
Expand Down Expand Up @@ -217,6 +217,8 @@ require('legendary').setup({
},
-- load extensions
extensions = {
-- automatically load keymaps from lazy.nvim's `keys` option
lazy_nvim = true,
-- load keymaps and commands from nvim-tree.lua
nvim_tree = true,
-- load commands from smart-splits.nvim
Expand Down

0 comments on commit ecfcdea

Please sign in to comment.