diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2024-04-27 17:48:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-27 15:48:35 -0700 |
commit | a41546d4ac60cecc48b83f85ea9d53ee2fb7dfbb (patch) | |
tree | 2153acc23a330cc8dc5991a53feccc6b6962fcc9 | |
parent | 96f59e1b9902f7622eaaea02eea0329a88b98202 (diff) | |
download | rneovim-a41546d4ac60cecc48b83f85ea9d53ee2fb7dfbb.tar.gz rneovim-a41546d4ac60cecc48b83f85ea9d53ee2fb7dfbb.tar.bz2 rneovim-a41546d4ac60cecc48b83f85ea9d53ee2fb7dfbb.zip |
docs: breaking change in diagnostic goto #28541
-rw-r--r-- | runtime/doc/news.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 12d170612c..4747ad5917 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -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, 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* @@ -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 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: • On Windows 'isfname' does not include ":". Drive letters are handled correctly without it. (Use |gF| for filepaths suffixed with ":line:col"). |