12 lines
405 B
Lua
12 lines
405 B
Lua
-- don't hard break text
|
|
vim.opt.textwidth = 0
|
|
-- keep soft breaks between words
|
|
vim.cmd('setlocal linebreak')
|
|
-- turn list off as it interferes with soft wrapping
|
|
vim.cmd('setlocal nolist')
|
|
-- turn off breaking when typing new text
|
|
vim.cmd('setlocal formatoptions-=t')
|
|
-- turn off line width hint
|
|
vim.cmd('setlocal colorcolumn=0')
|
|
-- set an alternate colorscheme from coding
|
|
vim.cmd('colorscheme quiet')
|