enabling spell check in zen mode

This commit is contained in:
Rudis Muiznieks 2022-09-06 20:48:42 -05:00
parent d336c5d976
commit db6c186a20
Signed by: rudism
GPG key ID: CABF2F86EF7884F9

View file

@ -191,9 +191,11 @@ require('true-zen').setup {
callbacks = {
open_pre = function()
vim.opt.linebreak = true
vim.opt.spell = true
end,
close_post = function()
vim.opt.linebreak = false
vim.opt.spell = false
end
}
}