Fix neo-tree keymap description

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
This commit is contained in:
Damjan 9000 2024-05-15 14:41:00 +02:00
parent 5aeddfdd5d
commit da71bb79e7
1 changed files with 1 additions and 1 deletions

View File

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