diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-08-09 15:33:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 15:33:53 -0700 |
commit | 1d81d7a268f5805bedc077f80582a89afe1bfe84 (patch) | |
tree | 484f64f146f6eca0655fc11cf4d72b0d3733d108 /runtime/lua/vim/_meta/options.lua | |
parent | e6947bb1e80aa61ec43446f43dcc7c8a022f5b78 (diff) | |
download | rneovim-1d81d7a268f5805bedc077f80582a89afe1bfe84.tar.gz rneovim-1d81d7a268f5805bedc077f80582a89afe1bfe84.tar.bz2 rneovim-1d81d7a268f5805bedc077f80582a89afe1bfe84.zip |
feat(defaults): treat "•" as a list item prefix #24623
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.
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r-- | runtime/lua/vim/_meta/options.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |