Skip to content

Commit

Permalink
Issue 1249 which key comments (#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 #1249

* fix typo opt -> opts

Fixes #1250
  • Loading branch information
benfleis authored Dec 12, 2024
1 parent a2df3ea commit bcdb4cd
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 @@ -267,7 +267,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 bcdb4cd

Please sign in to comment.