feat(options): when available use treesitter spell regions for spell checking

This commit is contained in:
Folke Lemaitre
2024-06-06 22:37:47 +02:00
parent 92106484ed
commit 276b8032be

View File

@ -82,6 +82,7 @@ opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift t
opt.smartcase = true -- Don't ignore case with capitals
opt.smartindent = true -- Insert indents automatically
opt.spelllang = { "en" }
opt.spelloptions:append("noplainbuffer")
opt.splitbelow = true -- Put new windows below current
opt.splitkeep = "screen"
opt.splitright = true -- Put new windows right of current