diff options
author | Damjan 9000 <damjan.9000@gmail.com> | 2024-07-21 22:22:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-21 16:22:10 -0400 |
commit | 202910d3fae9a9b9e4f3f390fc69e36e6350180c (patch) | |
tree | 6e1f1a29d3d970132754ceafd561e6b7fefcb2ea | |
parent | 2df5137e59c28fc9148148db8ed4a9f7abf73b4f (diff) |
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
-rw-r--r-- | lua/kickstart/plugins/neo-tree.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/kickstart/plugins/neo-tree.lua b/lua/kickstart/plugins/neo-tree.lua index c793b88..f126d68 100644 --- a/lua/kickstart/plugins/neo-tree.lua +++ b/lua/kickstart/plugins/neo-tree.lua @@ -11,7 +11,7 @@ return { }, cmd = 'Neotree', keys = { - { '\\', ':Neotree reveal<CR>', { desc = 'NeoTree reveal' } }, + { '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal' }, }, opts = { filesystem = { |