neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 5394320a67dddc94b8605187840f2656e4494440
parent 2f167c53acc76df9c2bf791d6c1c7fa87a812721
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Mon,  9 Jun 2025 22:34:38 +0200

vim-patch:df63097: runtime(lprolog): set com, cms options for lambda prolog

closes: vim/vim#17481

https://github.com/vim/vim/commit/df630970bfb91ee306178737ecea26f1fe42c6d1

Co-authored-by: Riley Bruins <ribru17@hotmail.com>

Diffstat:
Mruntime/ftplugin/lprolog.vim | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/runtime/ftplugin/lprolog.vim b/runtime/ftplugin/lprolog.vim @@ -2,7 +2,7 @@ " Language: LambdaProlog (Teyjus) " Maintainer: Markus Mottl <markus.mottl@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")