refactor(nvim): use default formatoptions
This commit is contained in:
parent
bf4bb95721
commit
5574a930b2
@ -2,10 +2,3 @@ vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.modeline = true
|
||||
vim.opt_local.wrap = false
|
||||
vim.opt_local.conceallevel = 1
|
||||
vim.opt_local.comments = {
|
||||
":- [ ]",
|
||||
":- [x]",
|
||||
":- [X]",
|
||||
":- [-]",
|
||||
":-"
|
||||
}
|
||||
|
@ -139,9 +139,6 @@ M.setup = function()
|
||||
|
||||
-- Allow per project configuration via exrc
|
||||
opt.exrc = true
|
||||
|
||||
-- Add `r` & `o` beyond the defaults provided, supports comment leaders
|
||||
opt.formatoptions = "tcqjro"
|
||||
end
|
||||
|
||||
return M
|
||||
|
Loading…
Reference in New Issue
Block a user