migrate astronvim conf to astronvim v4
This commit is contained in:
parent
d497490285
commit
37ae6314a9
8 changed files with 138 additions and 125 deletions
32
astronvim/community.lua
Normal file
32
astronvim/community.lua
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
return {
|
||||
"AstroNvim/astrocommunity",
|
||||
{ import = "astrocommunity.colorscheme.catppuccin"},
|
||||
{ import = "astrocommunity.bars-and-lines.smartcolumn-nvim" },
|
||||
{ import = "astrocommunity.editing-support.auto-save-nvim" },
|
||||
{ import = "astrocommunity.editing-support.nvim-devdocs" },
|
||||
{ import = "astrocommunity.diagnostics.lsp_lines-nvim" },
|
||||
{ import = "astrocommunity.quickfix.nvim-bqf" },
|
||||
{ import = "astrocommunity.code-runner.compiler-nvim" },
|
||||
{ import = "astrocommunity.bars-and-lines.vim-illuminate" },
|
||||
{ import = "astrocommunity.bars-and-lines.lualine-nvim" },
|
||||
{ import = "astrocommunity.git.blame-nvim" },
|
||||
{ import = "astrocommunity.indent.indent-blankline-nvim" },
|
||||
{ import = "astrocommunity.indent.mini-indentscope" },
|
||||
{ import = "astrocommunity.lsp.lsp-signature-nvim" },
|
||||
{ import = "astrocommunity.markdown-and-latex.glow-nvim" },
|
||||
{ import = "astrocommunity.pack.ansible" },
|
||||
{ import = "astrocommunity.pack.bash" },
|
||||
{ import = "astrocommunity.pack.docker" },
|
||||
{ import = "astrocommunity.pack.go" },
|
||||
{ import = "astrocommunity.pack.html-css" },
|
||||
{ import = "astrocommunity.pack.json" },
|
||||
{ import = "astrocommunity.pack.lua" },
|
||||
{ import = "astrocommunity.pack.markdown" },
|
||||
{ import = "astrocommunity.pack.python-ruff" },
|
||||
{ import = "astrocommunity.pack.terraform" },
|
||||
{ import = "astrocommunity.pack.toml" },
|
||||
{ import = "astrocommunity.pack.yaml" },
|
||||
{ import = "astrocommunity.scrolling.cinnamon-nvim" },
|
||||
{ import = "astrocommunity.split-and-window.minimap-vim" },
|
||||
{ import = "astrocommunity.workflow.hardtime-nvim" },
|
||||
}
|
||||
40
astronvim/plugins/astrocore.lua
Normal file
40
astronvim/plugins/astrocore.lua
Normal 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,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
24
astronvim/plugins/astrolsp.lua
Normal file
24
astronvim/plugins/astrolsp.lua
Normal 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",
|
||||
},
|
||||
|
||||
},
|
||||
}
|
||||
7
astronvim/plugins/astroui.lua
Normal file
7
astronvim/plugins/astroui.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
"AstroNvim/astroui",
|
||||
---@type AstroUIOpts
|
||||
opts = {
|
||||
colorscheme = "catppuccin-mocha",
|
||||
},
|
||||
}
|
||||
17
astronvim/plugins/catppuccin.lua
Normal file
17
astronvim/plugins/catppuccin.lua
Normal 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,
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue