mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
refactor: fix luals warnings
This commit is contained in:
@ -108,6 +108,7 @@ local function filter_by_severity(severity, diagnostics)
|
||||
severities[to_severity(s)] = true
|
||||
end
|
||||
|
||||
--- @param t table
|
||||
return vim.tbl_filter(function(t)
|
||||
return severities[t.severity]
|
||||
end, diagnostics)
|
||||
|
Reference in New Issue
Block a user