diff --git a/neovim/.config/nvim/init.lua b/neovim/.config/nvim/init.lua index d6ba504..635b178 100644 --- a/neovim/.config/nvim/init.lua +++ b/neovim/.config/nvim/init.lua @@ -25,8 +25,8 @@ opt.autoread = true opt.swapfile = false opt.history = 500 opt.formatoptions = 'rojq' ---disable hard text wrapping, will only wrap visually. -opt.textwidth = 0 +-- wrap at 80 cols. +opt.textwidth = 80 opt.wrapmargin = 0 opt.wrap = true -- opt.linebreak = true