From 1d81d7a268f5805bedc077f80582a89afe1bfe84 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 9 Aug 2023 15:33:53 -0700 Subject: feat(defaults): treat "•" as a list item prefix #24623 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Nvim docs use "•" as a list item prefix but `gw{motion}` doesn't format such lists by default. Solution: Change the 'comments' option to include "fb:•" by default. --- runtime/lua/vim/_meta/options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 94e26742e6..8edb87df91 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -956,7 +956,7 @@ vim.go.co = vim.go.columns --- insert a space. --- --- @type string -vim.o.comments = "s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-" +vim.o.comments = "s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-,fb:•" vim.o.com = vim.o.comments vim.bo.comments = vim.o.comments vim.bo.com = vim.bo.comments -- cgit