blob: ce7b6c1d320e8092c1ce9dcce9d1089df5e69f9b (
plain)
1
2
3
4
5
6
7
8
9
10
|
-- Don't wrap textwidth things
vim.opt_local.formatoptions:remove "t"
vim.opt_local.formatoptions:remove "c"
-- Don't include `showbreak` when calculating strdisplaywidth
vim.opt_local.wrap = false
-- There's also no reason to enable textwidth here anyway
vim.opt_local.textwidth = 0
vim.opt_local.scrollbind = false
|