fix: Override textwidth and formatoptions to attempt to prevent linebreaks (#1153)

This commit is contained in:
TJ DeVries
2021-08-26 06:15:48 -07:00
committed by GitHub
parent 861a0f9680
commit 369691c6d9

View File

@@ -0,0 +1,6 @@
-- Don't wrap textwidth things
vim.opt_local.formatoptions:remove "t"
vim.opt_local.formatoptions:remove "c"
-- There's also no reason to enable textwidth here anyway
vim.opt_local.textwidth = 0