Files
AstroConfig/lua/plugins/14-options.lua

47 lines
1.5 KiB
Lua

---@type LazySpec
return {
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
options = {
opt = {
clipboard = "",
cmdheight = 1,
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 = "·" },
number = true,
path = vim.list_extend(vim.opt.path:get(), { "**" }),
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,
},
},
},
}