From ef6c0645076d475cbecadefc026d59efac31d31f Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Fri, 15 Mar 2024 12:08:48 -0500 Subject: [PATCH] disable hard wrapping. --- neovim/.config/nvim/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neovim/.config/nvim/init.lua b/neovim/.config/nvim/init.lua index 366cfa9..56b6fde 100644 --- a/neovim/.config/nvim/init.lua +++ b/neovim/.config/nvim/init.lua @@ -25,11 +25,11 @@ opt.autoread = true opt.swapfile = false opt.history = 500 opt.formatoptions = 'rojq' --- wrap at 80 cols. -opt.textwidth = 80 +-- dont hard wrap. +opt.textwidth = 0 opt.wrapmargin = 0 opt.wrap = true --- opt.linebreak = true +opt.linebreak = true opt.breakindent = true --highlight after col opt.colorcolumn = "80,100,120"