diagnostic enable/disable mappings

This commit is contained in:
♥ Minnie ♥ 2023-04-22 10:41:56 +08:00
parent 3eecc4853e
commit aa83201e1c

View file

@ -1,5 +1,7 @@
-- Global mappings.
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
vim.keymap.set('n', '<space>de', vim.diagnostic.enable)
vim.keymap.set('n', '<space>dd', vim.diagnostic.disable)
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev)
vim.keymap.set('n', ']d', vim.diagnostic.goto_next)