runtime(rpl): set commentstring option in ftplugin

Commit: 
https://github.com/vim/vim/commit/446a98f0b6a914d39773d4c6c4c8e08a55876d66
Author: Riley Bruins <ribr...@hotmail.com>
Date:   Mon Jun 9 21:10:11 2025 +0200

    runtime(rpl): set commentstring option in ftplugin
    
    closes: https://github.com/vim/vim/issues/17487
    
    Signed-off-by: Riley Bruins <ribr...@hotmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/ftplugin/rpl.vim b/runtime/ftplugin/rpl.vim
index 8b4d5b0d4..9941c6ced 100644
--- a/runtime/ftplugin/rpl.vim
+++ b/runtime/ftplugin/rpl.vim
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
 " Language:     RPL/2
 " Maintainer:   Joël BERTRAND <r...@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<"

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uOhxZ-009tdo-0V%40256bit.org.

Raspunde prin e-mail lui