feat: deprecate view.mappings, see https://github.com/nvim-tree/nvim-tree.lua/wiki/Migrating-To-on_attach (#2143)
This commit is contained in:
committed by
GitHub
parent
8f392fa763
commit
5aa318c159
@@ -383,6 +383,8 @@ function M.generate_legacy_on_attach(opts)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
notify.info "view.mappings.list has been deprecated in favour of on_attach. Please run :NvimTreeGenerateOnAttach and visit https://github.com/nvim-tree/nvim-tree.lua/wiki/Migrating-To-on_attach"
|
||||||
|
|
||||||
local mapped_keys = all_mapped_keys(list)
|
local mapped_keys = all_mapped_keys(list)
|
||||||
local unmapped_keys = all_unmapped_keys(list, remove_keymaps)
|
local unmapped_keys = all_unmapped_keys(list, remove_keymaps)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user