fix(plugins/astrocore): wrongly set options

This commit is contained in:
Nicolas Goudry 2024-06-07 22:53:23 +02:00
parent f71226be0f
commit 208ee4fec2
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44
4 changed files with 66 additions and 74 deletions

View file

@ -2,7 +2,6 @@
{ icons, ... }: { icons, ... }:
{ {
diagnostics = {
underline = true; underline = true;
update_in_insert = true; update_in_insert = true;
severity_sort = true; severity_sort = true;
@ -29,5 +28,4 @@
"4" = icons.DiagnosticHint; "4" = icons.DiagnosticHint;
}; };
}; };
};
} }

View file

@ -1,6 +1,5 @@
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore.lua#L32-L39 # https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore.lua#L32-L39
{ {
features = {
# Enable autopairs at start # Enable autopairs at start
autopairs = true; autopairs = true;
@ -21,5 +20,4 @@
lines = 10000; lines = 10000;
size = 1024 * 500; size = 1024 * 500;
}; };
};
} }

View file

@ -1,6 +1,5 @@
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore.lua#L62-L72 # https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore.lua#L62-L72
{ {
rooter = {
enabled = true; enabled = true;
autochdir = false; autochdir = false;
notify = false; notify = false;
@ -23,8 +22,7 @@
]; ];
ignore = { ignore = {
dirs = {}; dirs = { };
servers = {}; servers = { };
};
}; };
} }

View file

@ -1,15 +1,13 @@
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore.lua#L73-L80 # https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore.lua#L73-L80
{ {
sessions = {
autosave = { autosave = {
cwd = true; cwd = true;
last = true; last = true;
}; };
ignore = { ignore = {
buftypes = {}; buftypes = { };
dirs = {}; dirs = { };
filetypes = [ "gitcommit" "gitrebase" ]; filetypes = [ "gitcommit" "gitrebase" ];
}; };
};
} }