mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
runtime(lprolog): set com, cms options for lambda prolog
closes: #17481 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
aa9fc8eb94
commit
df630970bf
@@ -2,7 +2,7 @@
|
|||||||
" Language: LambdaProlog (Teyjus)
|
" Language: LambdaProlog (Teyjus)
|
||||||
" Maintainer: Markus Mottl <markus.mottl@gmail.com>
|
" Maintainer: Markus Mottl <markus.mottl@gmail.com>
|
||||||
" URL: http://www.ocaml.info/vim/ftplugin/lprolog.vim
|
" 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
|
" 2025 Apr 16 - set 'cpoptions' for line continuation
|
||||||
" 2023 Aug 28 - added undo_ftplugin (Vim Project)
|
" 2023 Aug 28 - added undo_ftplugin (Vim Project)
|
||||||
" 2006 Feb 05
|
" 2006 Feb 05
|
||||||
@@ -26,7 +26,9 @@ setlocal efm=%+A./%f:%l.%c:\ %m
|
|||||||
" Formatting of comments
|
" Formatting of comments
|
||||||
setlocal formatprg=fmt\ -w75\ -p\\%
|
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.
|
" Add mappings, unless the user didn't want this.
|
||||||
if !exists("no_plugin_maps") && !exists("no_lprolog_maps")
|
if !exists("no_plugin_maps") && !exists("no_lprolog_maps")
|
||||||
|
Reference in New Issue
Block a user