From fa461239980bd21d54c44d5a42b1904fd82d15b7 Mon Sep 17 00:00:00 2001 From: Mitchell Hanberg Date: Sun, 20 Dec 2020 10:17:11 -0500 Subject: doc: Fix vim.lsp.diagnostic.get_next (#13495) --- runtime/doc/lsp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index ea9072841c..67e2815715 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -1120,7 +1120,7 @@ get_line_diagnostics({bufnr}, {line_nr}, {opts}, {client_id}) diagnostics. get_next({opts}) *vim.lsp.diagnostic.get_next()* - Get the previous diagnostic closest to the cursor_position + Get the next diagnostic closest to the cursor_position Parameters: ~ {opts} table See |vim.lsp.diagnostic.goto_next()| -- cgit