feat(nvim): add r
& o
to default formatoptions
This commit is contained in:
parent
2952598440
commit
0987970579
@ -139,6 +139,9 @@ M.setup = function()
|
|||||||
|
|
||||||
-- Allow per project configuration via exrc
|
-- Allow per project configuration via exrc
|
||||||
opt.exrc = true
|
opt.exrc = true
|
||||||
|
|
||||||
|
-- Add `r` & `o` beyond the defaults provided, supports comment leaders
|
||||||
|
opt.formatoptions = "tcqjro"
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user