mirror of
https://github.com/neovim/neovim.git
synced 2026-05-05 05:25:10 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user