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 /src | |
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 'src')
-rw-r--r-- | src/nvim/options.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index ec6481c520..a565329eac 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1287,7 +1287,7 @@ return { abbreviation = 'com', alloced = true, cb = 'did_set_comments', - defaults = { if_true = 's1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-' }, + defaults = { if_true = 's1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-,fb:•' }, deny_duplicates = true, desc = [=[ A comma-separated list of strings that can start a comment line. See |