We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
:
1 parent c231933 commit 7087af8Copy full SHA for 7087af8
lua/nvim-tree/config.lua
@@ -4,7 +4,7 @@ local M = {}
4
5
-- TODO: remove this once the cb property is not supported in mappings
6
function M.nvim_tree_callback(callback_name)
7
- return string.format(":lua require'nvim-tree.actions.dispatch'.dispatch('%s')<CR>", callback_name)
+ return string.format("<cmd>lua require'nvim-tree.actions.dispatch'.dispatch('%s')<CR>", callback_name)
8
end
9
10
return M
0 commit comments