1
0
Fork 0

migrate astronvim conf to astronvim v4

This commit is contained in:
cătălin 2024-08-27 18:26:24 +02:00
commit 37ae6314a9
No known key found for this signature in database
8 changed files with 138 additions and 125 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,24 @@
---@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",
},
},
}

View file

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

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,
},
},
}