mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
docs: breaking change in diagnostic goto #28541
This commit is contained in:
@@ -140,6 +140,11 @@ The following changes may require adaptations in user config or plugins.
|
|||||||
• |nvim_open_win()| now blocks all autocommands when `noautocmd` is set,
|
• |nvim_open_win()| now blocks all autocommands when `noautocmd` is set,
|
||||||
rather than just those from setting the `buffer` to display in the window.
|
rather than just those from setting the `buffer` to display in the window.
|
||||||
|
|
||||||
|
• |vim.diagnostic.goto_next()| and |vim.diagnostic.goto_prev()| jump to the
|
||||||
|
diagnostic with the highest severity when the "severity" option is
|
||||||
|
unspecified. To use the old behavior, use: >lua
|
||||||
|
vim.diagnostic.goto_next({ severity = { min = vim.diagnostic.severity.HINT } })
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
BREAKING CHANGES IN HEAD *news-breaking-dev*
|
BREAKING CHANGES IN HEAD *news-breaking-dev*
|
||||||
|
|
||||||
@@ -397,11 +402,6 @@ The following changes to existing APIs or features add new behavior.
|
|||||||
• |vim.diagnostic.config()| now accepts a function for the virtual_text.prefix
|
• |vim.diagnostic.config()| now accepts a function for the virtual_text.prefix
|
||||||
option, which allows for rendering e.g., diagnostic severities differently.
|
option, which allows for rendering e.g., diagnostic severities differently.
|
||||||
|
|
||||||
• |vim.diagnostic.goto_next()| and |vim.diagnostic.goto_prev()| jump to the
|
|
||||||
diagnostic with the highest severity when the "severity" option is
|
|
||||||
unspecified. To use the old behavior, use: >lua
|
|
||||||
vim.diagnostic.goto_next({ severity = { min = vim.diagnostic.severity.HINT } })
|
|
||||||
|
|
||||||
• Defaults:
|
• Defaults:
|
||||||
• On Windows 'isfname' does not include ":". Drive letters are handled
|
• On Windows 'isfname' does not include ":". Drive letters are handled
|
||||||
correctly without it. (Use |gF| for filepaths suffixed with ":line:col").
|
correctly without it. (Use |gF| for filepaths suffixed with ":line:col").
|
||||||
|
Reference in New Issue
Block a user