|
|
@ -10,13 +10,13 @@ vim.keymap.set("n", "<leader>z", function() |
|
|
|
width = 90 |
|
|
|
}, |
|
|
|
on_open = function(win) |
|
|
|
vim.opt.wrap = true |
|
|
|
vim.opt.relativenumber = false |
|
|
|
vim.o.wrap = true |
|
|
|
vim.o.relativenumber = false |
|
|
|
end, |
|
|
|
-- callback where you can add custom code when the Zen window closes |
|
|
|
on_close = function() |
|
|
|
vim.opt.wrap = false |
|
|
|
vim.opt.relativenumber = true |
|
|
|
vim.o.wrap = false |
|
|
|
vim.o.relativenumber = true |
|
|
|
end, |
|
|
|
}) |
|
|
|
end) |