feat(api): add api.config.mappings.get_keymap and get_keymap_default (#2056)
* feat(api): add api.config.mappings.get_keymap and get_keymap_default * feat(api): add api.config.mappings.get_keymap and get_keymap_default
This commit is contained in:
committed by
GitHub
parent
1d79a64a88
commit
4f036342f1
@@ -182,4 +182,11 @@ Api.config.mappings.default = function()
|
||||
return require("nvim-tree.keymap-legacy").default_mappings_clone()
|
||||
end
|
||||
|
||||
Api.config.mappings.get_keymap = function()
|
||||
return require("nvim-tree.keymap").get_keymap()
|
||||
end
|
||||
Api.config.mappings.get_keymap_default = function()
|
||||
return require("nvim-tree.keymap").get_keymap_default()
|
||||
end
|
||||
|
||||
return Api
|
||||
|
||||
Reference in New Issue
Block a user