Skip to content

Commit 9750f45

Browse files
committed
Fix use of vim.lsp.diagnostic.get_count
1 parent 3131f54 commit 9750f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lsp-status/diagnostics.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ local function get_all_diagnostics()
99
}
1010

1111
for k, level in pairs(levels) do
12-
result[k] = vim.lsp.diagnostic.get_count(level)
12+
result[k] = vim.lsp.diagnostic.get_count(0, level)
1313
end
1414

1515
return result

0 commit comments

Comments
 (0)