Fix neo-tree keymap description (#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
pull/1038/head
Damjan 9000 4 months ago committed by GitHub
parent 2df5137e59
commit 202910d3fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -11,7 +11,7 @@ return {
}, },
cmd = 'Neotree', cmd = 'Neotree',
keys = { keys = {
{ '\\', ':Neotree reveal<CR>', { desc = 'NeoTree reveal' } }, { '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal' },
}, },
opts = { opts = {
filesystem = { filesystem = {

Loading…
Cancel
Save