Skip to content

Commit 4551251

Browse files
dam9000benwis
authored andcommitted
Fix neo-tree keymap description (nvim-lua#932)
The lazy.nvim keys parameter does not need the `desc` to be inside a table in the way that vim.keymap.set() does. With this fix the keymap description will be properly shown for example in telescope keymap search
1 parent c83dcbe commit 4551251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/kickstart/plugins/neo-tree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ return {
1111
},
1212
cmd = 'Neotree',
1313
keys = {
14-
{ '\\', ':Neotree reveal<CR>', { desc = 'NeoTree reveal' } },
14+
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal' },
1515
},
1616
opts = {
1717
filesystem = {

0 commit comments

Comments
 (0)