mirror of
https://github.com/neovim/neovim.git
synced 2026-08-28 18:11:47 +00:00
fix(diagnostic): fix backwards compatibility for goto_next and goto_prev (#29593)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user