mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
fix(diagnostic): correct severity
type on setqflist
, setloclist
(#30506)
fix(diagnostic): correct severity type on setqflist, setloclist
This commit is contained in:
@@ -831,7 +831,7 @@ setloclist({opts}) *vim.diagnostic.setloclist()*
|
|||||||
after setting.
|
after setting.
|
||||||
• {title}? (`string`) Title of the location list. Defaults to
|
• {title}? (`string`) Title of the location list. Defaults to
|
||||||
"Diagnostics".
|
"Diagnostics".
|
||||||
• {severity}? (`vim.diagnostic.Severity`) See
|
• {severity}? (`vim.diagnostic.SeverityFilter`) See
|
||||||
|diagnostic-severity|.
|
|diagnostic-severity|.
|
||||||
|
|
||||||
setqflist({opts}) *vim.diagnostic.setqflist()*
|
setqflist({opts}) *vim.diagnostic.setqflist()*
|
||||||
@@ -845,7 +845,7 @@ setqflist({opts}) *vim.diagnostic.setqflist()*
|
|||||||
after setting.
|
after setting.
|
||||||
• {title}? (`string`) Title of quickfix list. Defaults to
|
• {title}? (`string`) Title of quickfix list. Defaults to
|
||||||
"Diagnostics".
|
"Diagnostics".
|
||||||
• {severity}? (`vim.diagnostic.Severity`) See
|
• {severity}? (`vim.diagnostic.SeverityFilter`) See
|
||||||
|diagnostic-severity|.
|
|diagnostic-severity|.
|
||||||
|
|
||||||
*vim.diagnostic.show()*
|
*vim.diagnostic.show()*
|
||||||
|
@@ -2078,7 +2078,7 @@ end
|
|||||||
--- @field title? string
|
--- @field title? string
|
||||||
---
|
---
|
||||||
--- See |diagnostic-severity|.
|
--- See |diagnostic-severity|.
|
||||||
--- @field severity? vim.diagnostic.Severity
|
--- @field severity? vim.diagnostic.SeverityFilter
|
||||||
|
|
||||||
--- Add all diagnostics to the quickfix list.
|
--- Add all diagnostics to the quickfix list.
|
||||||
---
|
---
|
||||||
@@ -2106,7 +2106,7 @@ end
|
|||||||
--- @field title? string
|
--- @field title? string
|
||||||
---
|
---
|
||||||
--- See |diagnostic-severity|.
|
--- See |diagnostic-severity|.
|
||||||
--- @field severity? vim.diagnostic.Severity
|
--- @field severity? vim.diagnostic.SeverityFilter
|
||||||
|
|
||||||
--- Add buffer diagnostics to the location list.
|
--- Add buffer diagnostics to the location list.
|
||||||
---
|
---
|
||||||
|
Reference in New Issue
Block a user