1
0
Fork 0
dotfiles/astrovim/init.lua
2023-04-24 12:47:11 +02:00

72 lines
1.9 KiB
Lua

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