]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1456: comment plugin fails toggling if 'cms' contains \ v9.1.1456
authorMaxim Kim <habamax@gmail.com>
Thu, 12 Jun 2025 19:31:00 +0000 (21:31 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 12 Jun 2025 19:31:00 +0000 (21:31 +0200)
commit532a5fb13121fe849b83f77a3c1d62c95af4cdce
tree4ce00adebf282f7af241a87eb1408acbd18455b5
parent16e9b477ab3653d83c216f6ce7a633c24da6384b
patch 9.1.1456: comment plugin fails toggling if 'cms' contains \

Problem:  comment plugin fails toggling if 'cms' contains \
Solution: escape backslash (Maxim Kim)

groff could be commented using \" or \# and comment plugin fails to
uncomment such things.

NOTE: if newstyle comment would be introduced, e.g. .\#
for groff test would need to be adjusted.

closes: #17530

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/pack/dist/opt/comment/autoload/comment.vim
src/testdir/test_plugin_comment.vim
src/version.c