Skip to content

Commit ad861d4

Browse files
benfleissychugin
authored andcommitted
Issue 1249 which key comments (nvim-lua#1263)
* 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
1 parent 4c8275e commit ad861d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ require('lazy').setup({
281281
-- which loads which-key before all the UI elements are loaded. Events can be
282282
-- normal autocommands events (`:help autocmd-events`).
283283
--
284-
-- Then, because we use the `opt` key (recommended), the configuration runs
284+
-- Then, because we use the `opts` key (recommended), the configuration runs
285285
-- after the plugin has been loaded as `require(MODULE).setup(opts)`.
286286

287287
{ -- Useful plugin to show you pending keybinds.

0 commit comments

Comments
 (0)