mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
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: #14843 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
a218cc6cda
commit
0a0830624a
@ -629,7 +629,7 @@ static struct vimoption options[] =
|
||||
{"commentstring", "cms", P_STRING|P_ALLOCED|P_VI_DEF|P_CURSWANT,
|
||||
#ifdef FEAT_FOLDING
|
||||
(char_u *)&p_cms, PV_CMS, did_set_commentstring, NULL,
|
||||
{(char_u *)"/*%s*/", (char_u *)0L}
|
||||
{(char_u *)"/* %s */", (char_u *)0L}
|
||||
#else
|
||||
(char_u *)NULL, PV_NONE, NULL, NULL,
|
||||
{(char_u *)0L, (char_u *)0L}
|
||||
|
Reference in New Issue
Block a user