Skip to content

Commit

Permalink
Removes un-actionable warning for unknown diagnostic type (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisoncramer authored Nov 13, 2023
1 parent 58c3dcc commit 4c7a610
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/gitlab/reviewer/diffview.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4c7a610

Please sign in to comment.