diff options
author | Marc Jakobi <mrcjkb89@outlook.com> | 2021-07-22 17:48:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 08:48:28 -0700 |
commit | a8c3d50fad94971ebfe9eeedf933bdd829e66787 (patch) | |
tree | 33e841aa1ac05cecbd18f30b8b4d9948521a420b /runtime/doc | |
parent | ea35584bac6f33d4cb4fd59f5dcd0113e568c5a1 (diff) | |
download | rneovim-a8c3d50fad94971ebfe9eeedf933bdd829e66787.tar.gz rneovim-a8c3d50fad94971ebfe9eeedf933bdd829e66787.tar.bz2 rneovim-a8c3d50fad94971ebfe9eeedf933bdd829e66787.zip |
lsp: add vim.lsp.diagnostic.set_qflist() function (#14831)
* Add vim.lsp.diagnostic.set_qflist() function
* replaces opts.open_loclist with unified opts.open
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/lsp.txt | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 62f529b463..a15c74d148 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -1470,12 +1470,36 @@ save({diagnostics}, {bufnr}, {client_id}) *vim.lsp.diagnostic.save()* save_extmarks({bufnr}, {client_id}) TODO: Documentation +set_qflist({opts}) *vim.lsp.diagnostic.set_qflist()* + Sets the quickfix list + + Parameters: ~ + {opts} table|nil Configuration table. Keys: + • {open}: (boolean, default true) + • Open quickfix list after set + + • {client_id}: (number) + • If nil, will consider all clients attached to + buffer. + + • {severity}: (DiagnosticSeverity) + • Exclusive severity to consider. Overrides + {severity_limit} + + • {severity_limit}: (DiagnosticSeverity) + • Limit severity of diagnostics found. E.g. + "Warning" means { "Error", "Warning" } will be + valid. + + • {workspace}: (boolean, default true) + • Set the list with workspace diagnostics + set_loclist({opts}) *vim.lsp.diagnostic.set_loclist()* Sets the location list Parameters: ~ {opts} table|nil Configuration table. Keys: - • {open_loclist}: (boolean, default true) + • {open}: (boolean, default true) • Open loclist after set • {client_id}: (number) |