enabling linebreak wrapping in zen mode
This commit is contained in:
parent
bf902764eb
commit
d0f5db0015
1 changed files with 13 additions and 0 deletions
|
@ -186,8 +186,21 @@ require'lualine'.setup {
|
|||
|
||||
-- zen mode config
|
||||
require('true-zen').setup {
|
||||
modes = {
|
||||
ataraxis = {
|
||||
callbacks = {
|
||||
open_pre = function()
|
||||
vim.opt.linebreak = true
|
||||
end,
|
||||
close_post = function()
|
||||
vim.opt.linebreak = false
|
||||
end
|
||||
}
|
||||
}
|
||||
},
|
||||
integrations = {
|
||||
tmux = true,
|
||||
lualine = true
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue