Thomas Gideon
45af25f204
LSP breaks this because overlays with multiple lines are opened with a filetype of text causing the colorscheme to change unpredictably and sometimes break. Moved wiki/diary specific colorscheme to a project specific config outside of this repo.
10 lines
332 B
Lua
10 lines
332 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')
|