home: vim: add diagnostic navigation mappings
This commit is contained in:
parent
56156e1fe4
commit
b79cee6eee
|
@ -30,6 +30,8 @@ local keys = {
|
||||||
u = "URL encode",
|
u = "URL encode",
|
||||||
x = "XML encode",
|
x = "XML encode",
|
||||||
y = "C string encode",
|
y = "C string encode",
|
||||||
|
-- Custom
|
||||||
|
d = { vim.diagnostic.goto_prev, "Previous diagnostic" }
|
||||||
},
|
},
|
||||||
["]"] = {
|
["]"] = {
|
||||||
name = "Next",
|
name = "Next",
|
||||||
|
@ -58,6 +60,8 @@ local keys = {
|
||||||
u = "URL decode",
|
u = "URL decode",
|
||||||
x = "XML decode",
|
x = "XML decode",
|
||||||
y = "C string decode",
|
y = "C string decode",
|
||||||
|
-- Custom
|
||||||
|
d = { vim.diagnostic.goto_next, "Next diagnostic" }
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Option mappings
|
-- Option mappings
|
||||||
|
|
Loading…
Reference in a new issue