Removes un-actionable warning for unknown diagnostic type (#88)
This commit is contained in:
committed by
GitHub
parent
58c3dcc9ec
commit
4c7a610417
@@ -205,8 +205,6 @@ M.set_diagnostics = function(namespace, diagnostics, type, opts)
|
||||
vim.diagnostic.set(namespace, view.cur_layout.b.file.bufnr, diagnostics, opts)
|
||||
elseif type == "old" and view.cur_layout.a.file.bufnr then
|
||||
vim.diagnostic.set(namespace, view.cur_layout.a.file.bufnr, diagnostics, opts)
|
||||
else
|
||||
vim.notify("Unknown diagnostic type", vim.log.levels.ERROR)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user