enabling linebreak wrapping in zen mode

This commit is contained in:
Rudis Muiznieks 2022-08-29 21:51:59 -05:00
parent bf902764eb
commit d0f5db0015
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
1 changed files with 13 additions and 0 deletions

View File

@ -186,8 +186,21 @@ require'lualine'.setup {
-- zen mode config -- zen mode config
require('true-zen').setup { require('true-zen').setup {
modes = {
ataraxis = {
callbacks = {
open_pre = function()
vim.opt.linebreak = true
end,
close_post = function()
vim.opt.linebreak = false
end
}
}
},
integrations = { integrations = {
tmux = true, tmux = true,
lualine = true lualine = true
} }
} }