diff options
| author | Max Coplan <mchcopl@gmail.com> | 2024-07-09 12:08:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-09 14:08:12 -0500 |
| commit | d918ebe3b8a5ee2a7ad735e2edd474cc1224ea28 (patch) | |
| tree | edd9258a7619c2529f82dff43bdf19922e327570 /runtime/doc | |
| parent | 51d85f7ea58bd715cec1fdfa8d19826cafe7185d (diff) | |
| download | rneovim-d918ebe3b8a5ee2a7ad735e2edd474cc1224ea28.tar.gz rneovim-d918ebe3b8a5ee2a7ad735e2edd474cc1224ea28.tar.bz2 rneovim-d918ebe3b8a5ee2a7ad735e2edd474cc1224ea28.zip | |
fix(diagnostic): fix backwards compatibility for goto_next and goto_prev (#29593)
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/deprecated.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/deprecated.txt b/runtime/doc/deprecated.txt index 6c6585d76e..d8360849dc 100644 --- a/runtime/doc/deprecated.txt +++ b/runtime/doc/deprecated.txt @@ -23,8 +23,8 @@ LUA - vim.region() Use |getregionpos()| instead. DIAGNOSTICS -- *vim.diagnostic.goto_next()* Use |vim.diagnostic.jump()| with `{count = 1}` instead. -- *vim.diagnostic.goto_prev()* Use |vim.diagnostic.jump()| with `{count = -1}` instead. +- *vim.diagnostic.goto_next()* Use |vim.diagnostic.jump()| with `{count=1, float=true}` instead. +- *vim.diagnostic.goto_prev()* Use |vim.diagnostic.jump()| with `{count=-1, float=true}` instead. - *vim.diagnostic.get_next_pos()* Use the "lnum" and "col" fields from the return value of |vim.diagnostic.get_next()| instead. |