mirror of
https://github.com/neovim/neovim.git
synced 2026-08-28 18:11:47 +00:00
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.
This commit is contained in:
2
runtime/lua/vim/_meta/options.lua
generated
2
runtime/lua/vim/_meta/options.lua
generated
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user