fix: set mode for all keymaps

This commit is contained in:
Nicolas Goudry 2024-06-08 00:25:04 +02:00
parent 53fdfbb8ba
commit ec180d7365
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44
13 changed files with 83 additions and 9 deletions

View file

@ -2,6 +2,7 @@
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore_mappings.lua#L92-L100
[
{
mode = "n";
key = "<Leader>ld";
options.desc = "Hover diagnostics";
@ -12,6 +13,7 @@
'';
}
{
mode = "n";
key = "[d";
options.desc = "Previous diagnostic";
@ -22,6 +24,7 @@
'';
}
{
mode = "n";
key = "]d";
options.desc = "Next diagnostic";
@ -32,6 +35,7 @@
'';
}
{
mode = "n";
key = "gl";
options.desc = "Hover diagnostics";