summaryrefslogtreecommitdiffstats
path: root/nvim
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
commit87ea0aa32bab7673793c71aed79c7f44ee02caf3 (patch)
tree19d1bb0a7404cb3d4a5299f181cbe3ed875b10e3 /nvim
parent6a2df4d945c8bcf943349c7259dd45677a6db987 (diff)
downloaddots-87ea0aa32bab7673793c71aed79c7f44ee02caf3.tar.gz
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 'nvim')
-rw-r--r--nvim/init.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/nvim/init.lua b/nvim/init.lua
index 2513d53..13c8143 100644
--- a/nvim/init.lua
+++ b/nvim/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' } },
},
},
},