From: Riley Bruins Date: Mon, 9 Jun 2025 19:03:04 +0000 (+0200) Subject: runtime(lprolog): set com, cms options for lambda prolog X-Git-Tag: v9.1.1447~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df630970bfb91ee306178737ecea26f1fe42c6d1;p=thirdparty%2Fvim.git runtime(lprolog): set com, cms options for lambda prolog closes: #17481 Signed-off-by: Riley Bruins Signed-off-by: Christian Brabandt --- diff --git a/runtime/ftplugin/lprolog.vim b/runtime/ftplugin/lprolog.vim index 07ffc527c8..ba4947d709 100644 --- a/runtime/ftplugin/lprolog.vim +++ b/runtime/ftplugin/lprolog.vim @@ -2,7 +2,7 @@ " Language: LambdaProlog (Teyjus) " Maintainer: Markus Mottl " 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")