fix(diagnostic): check for sign namespace instead of sign group

This commit is contained in:
Gregory Anders
2023-12-13 09:26:39 -06:00
parent 8122470f83
commit 29d5ff6ac4
2 changed files with 37 additions and 22 deletions

View File

@ -897,7 +897,7 @@ M.handlers.signs = {
end,
hide = function(namespace, bufnr)
local ns = M.get_namespace(namespace)
if ns.user_data.sign_group and api.nvim_buf_is_valid(bufnr) then
if ns.user_data.sign_ns and api.nvim_buf_is_valid(bufnr) then
api.nvim_buf_clear_namespace(bufnr, ns.user_data.sign_ns, 0, -1)
end
end,