feat: revamp
This commit is contained in:
parent
40c6e1c4b0
commit
f56d076f52
32 changed files with 127 additions and 831 deletions
72
astrovim/init.lua
Normal file
72
astrovim/init.lua
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
return {
|
||||
updater = {
|
||||
remote = "origin", -- remote to use
|
||||
channel = "stable", -- "stable" or "nightly"
|
||||
version = "latest", -- "latest", tag name, or regex search like "v1.*" to only do updates before v2 (STABLE ONLY)
|
||||
branch = "nightly", -- branch name (NIGHTLY ONLY)
|
||||
commit = nil, -- commit hash (NIGHTLY ONLY)
|
||||
pin_plugins = nil, -- nil, true, false (nil will pin plugins on stable only)
|
||||
skip_prompts = false, -- skip prompts about breaking changes
|
||||
show_changelog = true, -- show the changelog after performing an update
|
||||
auto_quit = false, -- automatically quit the current session after a successful update
|
||||
remotes = { -- easily add new remotes to track
|
||||
-- ["remote_name"] = "https://remote_url.come/repo.git", -- full remote url
|
||||
-- ["remote2"] = "github_user/repo", -- GitHub user/repo shortcut,
|
||||
-- ["remote3"] = "github_user", -- GitHub user assume AstroNvim fork
|
||||
},
|
||||
},
|
||||
|
||||
colorscheme = "catppuccin",
|
||||
|
||||
diagnostics = {
|
||||
virtual_text = true,
|
||||
underline = true,
|
||||
},
|
||||
|
||||
lsp = {
|
||||
formatting = {
|
||||
format_on_save = {
|
||||
enabled = true,
|
||||
},
|
||||
timeout_ms = 1000,
|
||||
},
|
||||
servers = {
|
||||
"pyright"
|
||||
},
|
||||
},
|
||||
|
||||
lazy = {
|
||||
defaults = { lazy = true },
|
||||
},
|
||||
|
||||
plugins = {
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
as = "catppuccin",
|
||||
config = function()
|
||||
require("catppuccin").setup {}
|
||||
end,
|
||||
},
|
||||
},
|
||||
options = {
|
||||
opt = {
|
||||
conceallevel = 2,
|
||||
relativenumber = true,
|
||||
list = true,
|
||||
listchars = { tab = "│→", extends = "⟩", precedes = "⟨", trail = "·", nbsp = "␣" },
|
||||
showbreak = "↪ ",
|
||||
showtabline = 1,
|
||||
wrap = true,
|
||||
},
|
||||
g = {
|
||||
icons_enabled = false,
|
||||
mapleader = " ",
|
||||
autoformat_enabled = true,
|
||||
cmp_enabled = true,
|
||||
autopairs_enabled = true,
|
||||
diagnostics_enabled = true,
|
||||
status_diagnostics_enabled = true,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue