From 8224f496aca72c2fbb84d9a72fdaea7c5e042169 Mon Sep 17 00:00:00 2001 From: niverton Date: Fri, 28 Mar 2025 09:57:01 +0100 Subject: [PATCH] feat(astro): update to v5 --- lua/lazy_setup.lua | 13 ++++++------- lua/plugins/14-options.lua | 12 ++++++++++++ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/lua/lazy_setup.lua b/lua/lazy_setup.lua index 8d6e7cb..355a8b1 100644 --- a/lua/lazy_setup.lua +++ b/lua/lazy_setup.lua @@ -1,12 +1,11 @@ require("lazy").setup({ - spec = { - { - "AstroNvim/AstroNvim", - -- version = "^4", - import = "astronvim.plugins", - }, - { import = "plugins" }, + { + "AstroNvim/AstroNvim", + version = "^5", + import = "astronvim.plugins", }, + { import = "plugins" }, +} --[[@as LazySpec]], { install = { colorscheme = { "astrodark", "habamax" } }, performance = { rtp = { diff --git a/lua/plugins/14-options.lua b/lua/plugins/14-options.lua index 9f5bb7a..dcd5e68 100644 --- a/lua/plugins/14-options.lua +++ b/lua/plugins/14-options.lua @@ -3,6 +3,18 @@ return { "AstroNvim/astrocore", ---@type AstroCoreOpts opts = { + features = { + large_buf = { size = 1024 * 256, lines = 10000 }, + autopairs = true, + cmp = true, + diagnostics = { virtual_text = true, virtual_lines = true }, + highlighturl = true, + notifications = true, + }, + diagnostics = { + virtual_text = true, + underline = true, + }, options = { opt = { clipboard = "",