diff --git a/lua/symbols-outline.lua b/lua/symbols-outline.lua index 28e42b0..cc3df72 100644 --- a/lua/symbols-outline.lua +++ b/lua/symbols-outline.lua @@ -318,7 +318,7 @@ local function setup_keymaps(bufnr) end 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 end