fix(keypress): use <cmd> instead of : to avoid triggering CmdLineEnter
fixes #1417
This commit is contained in:
parent
c231933fcd
commit
7087af83f3
@ -4,7 +4,7 @@ local M = {}
|
||||
|
||||
-- TODO: remove this once the cb property is not supported in mappings
|
||||
function M.nvim_tree_callback(callback_name)
|
||||
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)
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Loading…
Reference in New Issue
Block a user