From 90e57fc802b14c6b931bf74e06280187fb96617c Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Fri, 2 Feb 2024 16:08:25 +0000 Subject: [PATCH] nvim: update line width options --- nvim/lua/thomas/core/options.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nvim/lua/thomas/core/options.lua b/nvim/lua/thomas/core/options.lua index feb541b..dc38526 100644 --- a/nvim/lua/thomas/core/options.lua +++ b/nvim/lua/thomas/core/options.lua @@ -10,7 +10,8 @@ opt.incsearch = true opt.tabstop = 2 opt.softtabstop = 4 opt.shiftwidth = 4 -opt.textwidth = 100 +opt.colorcolumn = "80" +opt.textwidth = 80 -- opt.clipboard = "unnamedplus" opt.clipboard:append("unnamedplus") opt.cursorline = true @@ -23,4 +24,5 @@ opt.swapfile = false opt.showmode = false opt.termguicolors = true opt.wrap = false +opt.formatoptions = "cro" opt.backspace = "indent,eol,start"