68 lines
2.1 KiB
Lua
68 lines
2.1 KiB
Lua
---@type LazySpec
|
|
return {
|
|
"AstroNvim/astrocore",
|
|
---@type AstroCoreOpts
|
|
opts = {
|
|
features = {
|
|
large_buf = { size = 1024 * 256, lines = 10000 },
|
|
autopairs = true,
|
|
cmp = true,
|
|
diagnostics = { virtual_text = false, virtual_lines = true },
|
|
highlighturl = true,
|
|
notifications = true,
|
|
},
|
|
options = {
|
|
opt = {
|
|
clipboard = "",
|
|
cmdheight = 0,
|
|
diffopt = {
|
|
-- default
|
|
"internal",
|
|
"closeoff",
|
|
"filler",
|
|
-- end default
|
|
"iwhite",
|
|
"algorithm:histogram",
|
|
"indent-heuristic",
|
|
"linematch:60",
|
|
},
|
|
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 = "·",
|
|
},
|
|
linebreak = true,
|
|
breakat = " (),;{}[]",
|
|
showbreak = "",
|
|
number = false,
|
|
path = vim.list_extend(vim.opt.path:get(), { "**" }),
|
|
pumblend = 0,
|
|
relativenumber = false,
|
|
shiftwidth = 4,
|
|
signcolumn = "auto",
|
|
spell = false,
|
|
tabstop = 4,
|
|
textwidth = 100,
|
|
winblend = 0,
|
|
wrap = true,
|
|
},
|
|
g = {
|
|
neovide_hide_mouse_when_typing = true,
|
|
neovide_theme = "auto",
|
|
neovide_floating_shadow = false,
|
|
rust_recommended_style = 0,
|
|
},
|
|
},
|
|
},
|
|
}
|