From e478c5d8520ffa7aeae1566cea8006a616a1b03d Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Wed, 13 Sep 2023 14:19:34 -0500 Subject: [PATCH] added nvim settings for wrapping at 80 cols. --- neovim/.config/nvim/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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