Open handler checks if view is not already open

This commit is contained in:
eyalz800
2023-09-01 13:30:57 +03:00
parent 512791925d
commit 5dee509556

View File

@@ -276,7 +276,7 @@ local function setup_keymaps(bufnr)
end end
local function handler(response) local function handler(response)
if response == nil or type(response) ~= 'table' then if response == nil or type(response) ~= 'table' or M.view:is_open() then
return return
end end