home: vim: add diagnostic navigation mappings

This commit is contained in:
Bruno BELANYI 2022-03-01 15:08:30 +01:00
parent 56156e1fe4
commit b79cee6eee

View file

@ -30,6 +30,8 @@ local keys = {
u = "URL encode",
x = "XML encode",
y = "C string encode",
-- Custom
d = { vim.diagnostic.goto_prev, "Previous diagnostic" }
},
["]"] = {
name = "Next",
@ -58,6 +60,8 @@ local keys = {
u = "URL decode",
x = "XML decode",
y = "C string decode",
-- Custom
d = { vim.diagnostic.goto_next, "Next diagnostic" }
},
-- Option mappings