summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorben fleis <benfleis@users.noreply.github.com>2024-12-12 22:26:20 +0100
committerGitHub <noreply@github.com>2024-12-12 16:26:20 -0500
commitcd7ccf3ddf8af6c6dd5123a4e3b86a92413844b4 (patch)
tree3efa3738ada549f8fd11fc1dd9850de1af8195a1
parent06bfedf1c57835f3058932e234fba6a588580165 (diff)
downloaddots-cd7ccf3ddf8af6c6dd5123a4e3b86a92413844b4.tar.gz
Issue 1249 which key comments (#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 #1249 * fix typo opt -> opts Fixes #1250
-rw-r--r--nvim/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/init.lua b/nvim/init.lua
index 8e56a21..ee8fbc9 100644
--- a/nvim/init.lua
+++ b/nvim/init.lua
@@ -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.