From 523dd51821de11998e54baebceea6208d3241da0 Mon Sep 17 00:00:00 2001 From: Zach Zolton Date: Mon, 30 Sep 2024 18:43:38 -0400 Subject: [PATCH] Don't automatically insert linebreaks --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 677c7103..27cc4922 100644 --- a/init.lua +++ b/init.lua @@ -909,6 +909,9 @@ require('lazy').setup({ -- Used for wrapping during text formatting vim.o.textwidth = 120 +-- Don't automatically insert linebreaks +vim.opt.formatoptions:remove { "t" } + -- Set highlight on search vim.o.hlsearch = true