runtime(lprolog): set com, cms options for lambda prolog

Commit: 
https://github.com/vim/vim/commit/df630970bfb91ee306178737ecea26f1fe42c6d1
Author: Riley Bruins <ribr...@hotmail.com>
Date:   Mon Jun 9 21:03:04 2025 +0200

    runtime(lprolog): set com, cms options for lambda prolog
    
    closes: https://github.com/vim/vim/issues/17481
    
    Signed-off-by: Riley Bruins <ribr...@hotmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/ftplugin/lprolog.vim b/runtime/ftplugin/lprolog.vim
index 07ffc527c..ba4947d70 100644
--- a/runtime/ftplugin/lprolog.vim
+++ b/runtime/ftplugin/lprolog.vim
@@ -2,7 +2,7 @@
 " Language:     LambdaProlog (Teyjus)
 " Maintainer:   Markus Mottl  <markus.mo...@gmail.com>
 " URL:          http://www.ocaml.info/vim/ftplugin/lprolog.vim
-" Last Change:  2025 Apr 16
+" Last Change:  2025 Jun 08 - set 'comments', 'commentstring'
 "               2025 Apr 16 - set 'cpoptions' for line continuation
 "               2023 Aug 28 - added undo_ftplugin (Vim Project)
 "               2006 Feb 05
@@ -26,7 +26,9 @@ setlocal efm=%+A./%f:%l.%c:\ %m
 " Formatting of comments
 setlocal formatprg=fmt\ -w75\ -p\%
 
-let b:undo_ftplugin = "setlocal efm< fp<"
+setlocal comments=s1:/*,mb:*,ex:*/,:% commentstring=%\ %s
+
+let b:undo_ftplugin = "setlocal efm< fp< com< cms<"
 
 " Add mappings, unless the user didn't want this.
 if !exists("no_plugin_maps") && !exists("no_lprolog_maps")

-- 
-- 
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/E1uOhxW-009tcO-Lv%40256bit.org.

Raspunde prin e-mail lui