diff options
author | Martin Kunz <martinkunz@email.cz> | 2022-10-29 01:13:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 17:13:27 -0600 |
commit | 356244d50ba01c63b3ac33057a69462c4029612c (patch) | |
tree | 4b6f472464acc73af9b9789f9c0c276a979e2c0a /runtime/doc | |
parent | 49e32cbdf8467ecb3da30e4a0d566341c7fa6f1f (diff) | |
download | rneovim-356244d50ba01c63b3ac33057a69462c4029612c.tar.gz rneovim-356244d50ba01c63b3ac33057a69462c4029612c.tar.bz2 rneovim-356244d50ba01c63b3ac33057a69462c4029612c.zip |
fix(docs): nil as viable argument for goto_prev (#20852)
Added `nil` as a possible option to `vim.diagnostics.goto_prev` in the
docs
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/diagnostic.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt index 828093ddd4..d30d6c28a0 100644 --- a/runtime/doc/diagnostic.txt +++ b/runtime/doc/diagnostic.txt @@ -519,7 +519,7 @@ goto_prev({opts}) *vim.diagnostic.goto_prev()* Move to the previous diagnostic in the current buffer. Parameters: ~ - • {opts} (table) See |vim.diagnostic.goto_next()| + • {opts} (table|nil) See |vim.diagnostic.goto_next()| hide({namespace}, {bufnr}) *vim.diagnostic.hide()* Hide currently displayed diagnostics. |