-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Instead of wrapping every keymap, Couldn't you just use the event hooks?
local api = require('nvim-tree.api')
local floatpreview = require('float-preview')
local float_close_wrap = floatpreview.close_wrap
local Event = api.events.Event
api.events.subscribe(Event.TreeClose, function()
float_close_wrap(function() end)()
end)Metadata
Metadata
Assignees
Labels
No labels