From 5574a930b247966c6273193a561164eced7aea0c Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 19 Feb 2024 00:19:19 -0600 Subject: [PATCH] refactor(nvim): use default `formatoptions` --- dots/.config/nvim/after/ftplugin/org.lua | 7 ------- dots/.config/nvim/lua/core/options.lua | 3 --- 2 files changed, 10 deletions(-) diff --git a/dots/.config/nvim/after/ftplugin/org.lua b/dots/.config/nvim/after/ftplugin/org.lua index 0af59d06..e3cd2a4a 100644 --- a/dots/.config/nvim/after/ftplugin/org.lua +++ b/dots/.config/nvim/after/ftplugin/org.lua @@ -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]", - ":- [-]", - ":-" -} diff --git a/dots/.config/nvim/lua/core/options.lua b/dots/.config/nvim/lua/core/options.lua index b698e39f..fc7d48db 100755 --- a/dots/.config/nvim/lua/core/options.lua +++ b/dots/.config/nvim/lua/core/options.lua @@ -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