complete neovim 0.12 compatibility audit
This commit is contained in:
parent
f6a1c8640c
commit
ec7f6c8121
8 changed files with 45 additions and 28 deletions
|
|
@ -50,10 +50,10 @@ map('n', '<leader>xE', function()
|
|||
vim.diagnostic.setqflist({ severity = vim.diagnostic.severity.ERROR })
|
||||
end, { desc = 'Diagnostics: All errors (quickfix)', silent = true })
|
||||
map('n', '[d', function()
|
||||
vim.diagnostic.goto_prev({ float = false })
|
||||
vim.diagnostic.jump({ count = -1, float = false })
|
||||
end, { desc = 'Diagnostics: Previous diagnostic', silent = true })
|
||||
map('n', ']d', function()
|
||||
vim.diagnostic.goto_next({ float = false })
|
||||
vim.diagnostic.jump({ count = 1, float = false })
|
||||
end, { desc = 'Diagnostics: Next diagnostic', silent = true })
|
||||
map('n', '<leader>xd', function()
|
||||
pcall(vim.diagnostic.open_float)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue