mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
vim-patch:9.1.0464: no whitespace padding in commentstring option in ftplugins
Problem: no whitespace padding in commentstring option in ftplugins
Solution: Change default to include whitespace padding, update
existing filetype plugins with the new default value
(Riley Bruins)
closes: vim/vim#14843
0a0830624a
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
This commit is contained in:
4
runtime/lua/vim/_meta/options.lua
generated
4
runtime/lua/vim/_meta/options.lua
generated
@ -974,8 +974,8 @@ vim.bo.comments = vim.o.comments
|
||||
vim.bo.com = vim.bo.comments
|
||||
|
||||
--- A template for a comment. The "%s" in the value is replaced with the
|
||||
--- comment text. For example, C uses "/*%s*/". Used for `commenting` and to
|
||||
--- add markers for folding, see `fold-marker`.
|
||||
--- comment text, and should be padded with a space when possible.
|
||||
--- Used for `commenting` and to add markers for folding, see `fold-marker`.
|
||||
---
|
||||
--- @type string
|
||||
vim.o.commentstring = ""
|
||||
|
Reference in New Issue
Block a user