summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorDamjan 9000 <damjan.9000@gmail.com>2024-08-26 22:43:59 +0200
committerGitHub <noreply@github.com>2024-08-26 16:43:59 -0400
commita22976111e406ec0e4903ae78bf66a1fc0125b8a (patch)
tree877e8c94a92fcfd5518e867bd8383a76ed54b99c /init.lua
parent24d368f9ff3a951f9760c3c0e776a52726401f4f (diff)
Fix the which-key spec issue caused by recent cleanup (#1113)
The recent cleanup accidentally broke the leader key specs because the spec block was in the wrong level of braces. That resulted in which-key no longer showing the description of the <leader> key chains such as [S]earch and others.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/init.lua b/init.lua
index 2513d53..13c8143 100644
--- a/init.lua
+++ b/init.lua
@@ -310,17 +310,17 @@ require('lazy').setup({
F11 = '<F11>',
F12 = '<F12>',
},
+ },
- -- Document existing key chains
- spec = {
- { '<leader>c', group = '[C]ode', mode = { 'n', 'x' } },
- { '<leader>d', group = '[D]ocument' },
- { '<leader>r', group = '[R]ename' },
- { '<leader>s', group = '[S]earch' },
- { '<leader>w', group = '[W]orkspace' },
- { '<leader>t', group = '[T]oggle' },
- { '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } },
- },
+ -- Document existing key chains
+ spec = {
+ { '<leader>c', group = '[C]ode', mode = { 'n', 'x' } },
+ { '<leader>d', group = '[D]ocument' },
+ { '<leader>r', group = '[R]ename' },
+ { '<leader>s', group = '[S]earch' },
+ { '<leader>w', group = '[W]orkspace' },
+ { '<leader>t', group = '[T]oggle' },
+ { '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } },
},
},
},