Skip to content

Commit

Permalink
Issue 1249 which key comments (nvim-lua#1263)
Browse files Browse the repository at this point in the history
* Tweak outdated comment about lazy's `config` key usage.

Remove outdated comment describing use of `config` key, replacing with
corrected `opt` key note.

Fixes nvim-lua#1249

* fix typo opt -> opts

Fixes nvim-lua#1250
  • Loading branch information
benfleis authored and gant123 committed Dec 30, 2024
1 parent a7e59a0 commit 04a3784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ require('lazy').setup({
-- which loads which-key before all the UI elements are loaded. Events can be
-- normal autocommands events (`:help autocmd-events`).
--
-- Then, because we use the `opt` key (recommended), the configuration runs
-- Then, because we use the `opts` key (recommended), the configuration runs
-- after the plugin has been loaded as `require(MODULE).setup(opts)`.

{ -- Useful plugin to show you pending keybinds.
Expand Down

0 comments on commit 04a3784

Please sign in to comment.