disable autoformatting of text and comments in vim

This commit is contained in:
Johannes Knopp
2024-12-20 11:35:56 +01:00
parent add0be5d00
commit f7120df53b

View File

@ -36,3 +36,9 @@ opt.showbreak = '++'
opt.breakindent = true
opt.linebreak = true
opt.termguicolors = true
-- Remove autoformatting of
-- 't' text using textwidth
-- 'c' comments using textwidth
opt.formatoptions:remove('t')
opt.formatoptions:remove('c')