refactor(lsp): rename on_publish_diagnostics parameter #32776

* fix(lsp): rename `on_publish_diagnostics` parameter: result->params
* fix(colors): specify local var type to address lint failure
This commit is contained in:
Will Lillis
2025-03-11 10:22:20 -04:00
committed by GitHub
parent 8b5a0a00c8
commit dc1888fcfb
3 changed files with 6 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ local hi = function(name, val)
val.force = true
-- Make sure that `cterm` attribute is not populated from `gui`
val.cterm = val.cterm or {}
val.cterm = val.cterm or {} ---@type vim.api.keyset.highlight
-- Define global highlight
vim.api.nvim_set_hl(0, name, val)