Skip to content

Commit

Permalink
Fix neo-tree keymap description (nvim-lua#932)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dam9000 authored Jul 21, 2024
1 parent 2df5137 commit 202910d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/kickstart/plugins/neo-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ return {
},
cmd = 'Neotree',
keys = {
{ '\\', ':Neotree reveal<CR>', { desc = 'NeoTree reveal' } },
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal' },
},
opts = {
filesystem = {
Expand Down

0 comments on commit 202910d

Please sign in to comment.