You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since v0.10.0, [d and ]d are mapped to vim.diagnostic.goto_next() and vim.diagnostic.goto_prev(). The default behavior of [d and ]d only moves the cursor to the diagnostics.
Explicitly mapping [d and ]d, vim.keymap.set("n", "[d", vim.diagnostic.goto_prev), moves the cursor AND opens the floating diagnostic window.
Problem
since v0.10.0,
[d
and]d
are mapped tovim.diagnostic.goto_next()
andvim.diagnostic.goto_prev()
. The default behavior of[d
and]d
only moves the cursor to the diagnostics.Explicitly mapping
[d
and]d
,vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
, moves the cursor AND opens the floating diagnostic window.Steps to reproduce
Tested with and without explicit keymap:
minimal.lua:
Expected behavior
The default behavior open the floating diagnostic window.
Neovim version (nvim -v)
0.10.0
Vim (not Nvim) behaves the same?
not available in vim
Operating system/version
WSL ubuntu 22.04
Terminal name/version
windows terminal 1.21.1272.0
$TERM environment variable
xterm-256color
Installation
appimage
The text was updated successfully, but these errors were encountered: