aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorShadman <shadmansaleh3@gmail.com>2021-06-16 12:21:04 +0600
committerGitHub <noreply@github.com>2021-06-15 23:21:04 -0700
commit3df0e475e83db6bdaa954876007564b9328d364d (patch)
treee79f2987932cab0a0e4bc3c1580098766ca9de97 /runtime/doc
parent6a77def1ee05d4e4eceddb559bc779cd9b805614 (diff)
downloadrneovim-3df0e475e83db6bdaa954876007564b9328d364d.tar.gz
rneovim-3df0e475e83db6bdaa954876007564b9328d364d.tar.bz2
rneovim-3df0e475e83db6bdaa954876007564b9328d364d.zip
docs(lsp): Clarify opts for show_line_diagnostics()
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 55873331c0..aa95245bd0 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1547,6 +1547,10 @@ show_line_diagnostics({opts}, {bufnr}, {line_nr}, {client_id})
{opts} table Configuration table
• show_header (boolean, default true): Show
"Diagnostics:" header.
+ • Plus all the opts for
+ |vim.lsp.diagnostic.get_line_diagnostics()|
+ and |vim.lsp.util.open_floating_preview()|
+ can be used here.
{bufnr} number The buffer number
{line_nr} number The line number
{client_id} number|nil the client id