mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
fix(diagnostics): validate opts.signs #34565
(cherry picked from commit 3594c213a7
)
This commit is contained in:
committed by
github-actions[bot]
parent
ecf5164d2d
commit
4303337c77
@ -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 {}
|
||||
|
Reference in New Issue
Block a user