fix(neovim): remove deprecated key bindings([d and ]d is now default)
ref: https://neovim.io/doc/user/deprecated.html#_diagnostics [d and ]d is now included in default keymap
This commit is contained in:
parent
44be709356
commit
e41c8d5f3a
1 changed files with 0 additions and 2 deletions
|
@ -615,8 +615,6 @@ local lspconfig = require 'lspconfig'
|
|||
-- See `:help vim.diagnostic.* for documentation on any of the below functions
|
||||
local opts = { noremap = true, silent = true }
|
||||
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float, opts)
|
||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, opts)
|
||||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, opts)
|
||||
vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist, opts)
|
||||
|
||||
-- Use an on_attach function to only map the following keys
|
||||
|
|
Loading…
Reference in a new issue