fix wrapping
This commit is contained in:
parent
f6e6f5ae70
commit
ac6258f478
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue