]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(rpl): set commentstring option in ftplugin
authorRiley Bruins <ribru17@hotmail.com>
Mon, 9 Jun 2025 19:10:11 +0000 (21:10 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 9 Jun 2025 19:10:11 +0000 (21:10 +0200)
closes: #17487

Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/rpl.vim

index 8b4d5b0d48e849fa622c4df4a5aa5d13d2a11df9..9941c6cede37caa0f0d9507417a94723ff681652 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
 " Language:     RPL/2
 " Maintainer:   Joël BERTRAND <rpl2@free.fr>
-" Last Change: 2012 Mar 07
+" Last Change: 2025 Jun 08
 " Version:             0.1
 
 " Only do this when not done yet for this buffer
@@ -18,5 +18,6 @@ setlocal fo-=t fo+=croql
 
 " Set 'comments' to format dashed lists in comments.
 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
+setlocal commentstring=//\ %s
 
-let b:undo_ftplugin = "setlocal fo< comments<"
+let b:undo_ftplugin = "setlocal fo< comments< commentstring<"