1
0
Fork 0

revamp flake

This commit is contained in:
cătălin 2026-03-09 11:00:40 +01:00
commit 251932e6c0
No known key found for this signature in database
82 changed files with 444 additions and 2406 deletions

View file

@ -0,0 +1,40 @@
---@type LazySpec
return {
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
features = {
large_buf = { size = 1024 * 500, lines = 10000 },
autopairs = true,
cmp = true,
diagnostics_mode = 3,
highlighturl = true,
notifications = true,
},
diagnostics = {
virtual_text = true,
underline = true,
},
options = {
opt = {
conceallevel = 2,
relativenumber = true,
list = true,
listchars = { tab = "│→", extends = "", precedes = "", trail = "·", nbsp = "" },
showbreak = "",
wrap = true,
laststatus = 3,
splitkeep = "screen",
},
g = {
--icons_enabled = true,
mapleader = " ",
--autoformat_enabled = true,
cmp_enabled = true,
autopairs_enabled = true,
--diagnostics_enabled = true,
--status_diagnostics_enabled = true,
},
},
},
}

View file

@ -0,0 +1,23 @@
---@type LazySpec
return {
"AstroNvim/astrolsp",
---@type AstroLSPOpts
opts = {
features = {
autoformat = true,
codelens = true,
semantic_tokens = true,
},
formatting = {
format_on_save = {
enabled = true,
},
timeout_ms = 1000, -- default format timeout
},
servers = {
"ruff",
"lua_ls",
"pyright",
},
},
}

View file

@ -0,0 +1,7 @@
return {
"AstroNvim/astroui",
---@type AstroUIOpts
opts = {
colorscheme = "catppuccin",
},
}

View file

@ -0,0 +1,17 @@
return {
"catppuccin",
opts = {
integrations = {
sandwich = false,
noice = true,
mini = true,
leap = true,
markdown = true,
neotest = true,
cmp = true,
overseer = true,
lsp_trouble = true,
rainbow_delimiters = true,
},
},
}

View file

@ -0,0 +1,6 @@
return {
"MagicDuck/grug-far.nvim",
config = function()
require("grug-far").setup({})
end,
}