dotfiles/home/private_dot_config/astronvim/lua/user/options.lua
2022-12-09 14:32:12 -06:00

21 lines
740 B
Lua

-- from https://code.mehalter.com/projects/68/files
return {
opt = {
conceallevel = 2, -- enable conceal
foldenable = false,
foldexpr = "nvim_treesitter#foldexpr()", -- set Treesitter based folding
foldmethod = "expr",
linebreak = true, -- linebreak soft wrap at words
list = true, -- show whitespace characters
listchars = { tab = "│→", extends = "", precedes = "", trail = "·", nbsp = "" },
showbreak = "",
spellfile = vim.fn.expand("~/.config/astronvim/lua/user/spell/en.utf-8.add"),
timeoutlen = 300,
thesaurus = vim.fn.expand("~/.config/astronvim/lua/user/spell/mthesaur.txt"),
wrap = true, -- soft wrap lines
},
g = {
matchup_matchparen_deferred = 1,
},
}