Skip to content

Commit 523dd51

Browse files
committed
Don't automatically insert linebreaks
1 parent 2464f21 commit 523dd51

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,9 @@ require('lazy').setup({
909909
-- Used for wrapping during text formatting
910910
vim.o.textwidth = 120
911911

912+
-- Don't automatically insert linebreaks
913+
vim.opt.formatoptions:remove { "t" }
914+
912915
-- Set highlight on search
913916
vim.o.hlsearch = true
914917

0 commit comments

Comments
 (0)