fix(diagnostic): accept multiple namespaces when setting loclist/qflist (#33982)

This commit is contained in:
Maria José Solano
2025-05-12 19:13:26 -05:00
committed by GitHub
parent 69d04ee99f
commit c681336e3c
3 changed files with 28 additions and 8 deletions

View File

@@ -2348,8 +2348,8 @@ end
--- @class vim.diagnostic.setqflist.Opts
--- @inlinedoc
---
--- Only add diagnostics from the given namespace.
--- @field namespace? integer
--- Only add diagnostics from the given namespace(s).
--- @field namespace? integer[]|integer
---
--- Open quickfix list after setting.
--- (default: `true`)
@@ -2373,8 +2373,8 @@ end
--- @class vim.diagnostic.setloclist.Opts
--- @inlinedoc
---
--- Only add diagnostics from the given namespace.
--- @field namespace? integer
--- Only add diagnostics from the given namespace(s).
--- @field namespace? integer[]|integer
---
--- Window number to set location list for.
--- (default: `0`)