vimrc/ftplugin/markdown.lua
Thomas Gideon 9fee066f65 Convert to lua
- prune unused
- drop scripting, use symlink for identical options
2023-05-09 11:31:20 -04:00

18 lines
529 B
Lua

-- set a smaller indent
local indent = 2
vim.opt.tabstop = indent
vim.opt.shiftwidth = indent
vim.opt.softtabstop = indent
-- 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')