fix wrapping

This commit is contained in:
andrzej 2024-05-08 18:09:02 +02:00
parent f6e6f5ae70
commit ac6258f478
2 changed files with 2 additions and 2 deletions

View File

@ -50,3 +50,5 @@ vim.g.markdown_folding = 1
vim.opt.spelllang = "en_us"
vim.opt.spell = true
vim.opt.textwidth = 0 --prevent vim from isnerting linebreaks
vim.opt.linebreak = true
vim.opt.wrap = true

View File

@ -1,6 +1,4 @@
local function setProseModeVars(on)
vim.opt.wrap = on
vim.opt.linebreak = on
vim.opt.number = not on
vim.opt.signcolumn = on and "no" or "auto"
end