Fixup v4 template

This commit is contained in:
2024-02-14 15:47:19 +01:00
parent dfba1a5905
commit 2057f91051
7 changed files with 90 additions and 93 deletions

View File

@@ -0,0 +1,32 @@
---@type LazySpec
return {
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
options = {
opt = {
background = "dark",
clipboard = "",
cmdheight = 1,
expandtab = true,
foldmethod = "syntax",
foldnestmax = 150,
grepprg = vim.fn.executable("rg") and "rg --vimgrep" or nil,
guifont = { "VictorMono Nerd Font", "Hack Nerd Font Mono", ":h10" },
listchars = { tab = "> ", extends = ">", precedes = "<", space = "·" },
number = true,
relativenumber = false,
shiftwidth = 4,
signcolumn = "auto",
spell = false,
tabstop = 4,
textwidth = 120,
wrap = true,
path = vim.list_extend(vim.opt.path:get(), { "**" }),
},
g = {
rust_recommended_style = 0,
},
},
},
}

View File

@@ -2,4 +2,5 @@
return {
{ "echasnovski/mini.align", event = "User AstroFile", config = function() require("mini.align").setup({}) end },
{ "tpope/vim-abolish", event = "User AstroFile" },
{ "rcarriga/nvim-notify", dev = true }, -- Until upstream fix for v10
}