mirror of
https://github.com/neovim/neovim.git
synced 2026-10-26 15:40:20 -05:00
fix(diagnostics): validate opts.signs #34565
This commit is contained in:
1 parent
8e17b72094
commit
3594c213a7
1 file changed
+1
@@ -1527,6 +1527,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 {}
|
||||
|
||||
Reference in new issue
Block a user