diff --git a/runtime/lua/vim/diagnostic.lua b/runtime/lua/vim/diagnostic.lua index 56b517ddfa..9c6a91f833 100644 --- a/runtime/lua/vim/diagnostic.lua +++ b/runtime/lua/vim/diagnostic.lua @@ -1442,6 +1442,7 @@ M.handlers.signs = { vim.validate('bufnr', bufnr, 'number') vim.validate('diagnostics', diagnostics, vim.islist, 'a list of diagnostics') vim.validate('opts', opts, 'table', true) + vim.validate('opts.signs', (opts and opts or {}).signs, 'table', true) bufnr = vim._resolve_bufnr(bufnr) opts = opts or {}