2022-12-09 14:32:12 -06:00
|
|
|
-- from https://code.mehalter.com/projects/68/files
|
2022-12-01 10:30:49 -06:00
|
|
|
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 = "↪ ",
|
2022-12-09 14:32:12 -06:00
|
|
|
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"),
|
2022-12-01 10:30:49 -06:00
|
|
|
wrap = true, -- soft wrap lines
|
|
|
|
},
|
|
|
|
g = {
|
|
|
|
matchup_matchparen_deferred = 1,
|
|
|
|
},
|
|
|
|
}
|