forked from nico/dots
10 lines
278 B
Lua
10 lines
278 B
Lua
-- opts
|
|
-- neovim defaults
|
|
vim.opt.wrap = true
|
|
vim.opt.linebreak = false
|
|
vim.opt.textwidth = 0
|
|
vim.opt.formatoptions = "tcqj"
|
|
|
|
-- ai slop that gets the job done
|
|
-- disables redo formatting when leaving the insert mode
|
|
vim.api.nvim_create_augroup("FormatText", { clear = true })
|