From 098797057904fc996d5b118b54c97225640d5760 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 14 Feb 2024 16:12:25 -0600 Subject: [PATCH] feat(nvim): add `r` & `o` to default `formatoptions` --- dots/.config/nvim/lua/core/options.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dots/.config/nvim/lua/core/options.lua b/dots/.config/nvim/lua/core/options.lua index fc7d48db..b698e39f 100755 --- a/dots/.config/nvim/lua/core/options.lua +++ b/dots/.config/nvim/lua/core/options.lua @@ -139,6 +139,9 @@ 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