runtime(logtalk): Update Logtalk runtime files for the latest language spec
Commit: https://github.com/vim/vim/commit/cc71684ab0025e87b697ed0b359214061f143392 Author: Paulo Moura <[email protected]> Date: Fri Jan 2 13:42:57 2026 +0000 runtime(logtalk): Update Logtalk runtime files for the latest language spec closes: https://github.com/vim/vim/issues/19058 Signed-off-by: Paulo Moura <[email protected]> Signed-off-by: Christian Brabandt <[email protected]> diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS index 3bb7a4825..f21bc31b0 100644 --- a/.github/MAINTAINERS +++ b/.github/MAINTAINERS @@ -230,6 +230,8 @@ runtime/ftplugin/less.vim @genoma runtime/ftplugin/lex.vim @ribru17 runtime/ftplugin/lf.vim @andis-sprinkis runtime/ftplugin/liquid.vim @tpope +runtime/ftplugin/logtalk.dict @pmoura +runtime/ftplugin/logtalk.vim @pmoura runtime/ftplugin/lua.vim @dkearns runtime/ftplugin/lynx.vim @dkearns runtime/ftplugin/m17ndb.vim @dseomn @@ -385,6 +387,7 @@ runtime/indent/ld.vim @dkearns runtime/indent/lf.vim @andis-sprinkis runtime/indent/less.vim @genoma runtime/indent/liquid.vim @tpope +runtime/indent/logtalk.vim @pmoura runtime/indent/lua.vim @marcuscf runtime/indent/m17ndb.vim @dseomn runtime/indent/make.vim @dkearns @@ -562,6 +565,7 @@ runtime/syntax/less.vim @genoma runtime/syntax/lf.vim @andis-sprinkis runtime/syntax/liquid.vim @tpope runtime/syntax/log.vim @mao-yining +runtime/syntax/logtalk.vim @pmoura runtime/syntax/lua.vim @marcuscf runtime/syntax/lynx.vim @dkearns runtime/syntax/lyrics.vim @ObserverOfTime diff --git a/runtime/ftplugin/logtalk.dict b/runtime/ftplugin/logtalk.dict index 0d076b7b3..386cf1f2a 100644 --- a/runtime/ftplugin/logtalk.dict +++ b/runtime/ftplugin/logtalk.dict @@ -72,6 +72,7 @@ deprecated discontiguous div domain_error +consistency_error duplicated_directives dynamic dynamic_declarations @@ -144,6 +145,7 @@ min missing_directives mod mode +mode_non_terminal modules multifile nl diff --git a/runtime/syntax/logtalk.vim b/runtime/syntax/logtalk.vim index 2c6c82aaa..366f888b6 100644 --- a/runtime/syntax/logtalk.vim +++ b/runtime/syntax/logtalk.vim @@ -2,7 +2,7 @@ " " Language: Logtalk " Maintainer: Paulo Moura <[email protected]> -" Last Change: December 16, 2023 +" Last Change: October 6, 2025 @@ -37,7 +37,7 @@ syn region logtalkAtom start=+'+ skip=+\'+ end=+'+ contains=logtalkEscapeSequ syn match logtalkEscapeSequence contained "\\([\abfnrtv\"\']\|\(x[a-fA-F0-9]\+\|[0-7]\+\)\\)" -" Logtalk message sending operators +" Logtalk message-sending operators syn match logtalkOperator "::" syn match logtalkOperator "\(0'\)\@<!:" @@ -85,6 +85,7 @@ syn region logtalkDir matchgroup=logtalkDirTag start=":- encoding(" matchgroup syn region logtalkDir matchgroup=logtalkDirTag start=":- initialization(" matchgroup=logtalkDirTag end=")\." contains=ALL syn region logtalkDir matchgroup=logtalkDirTag start=":- info(" matchgroup=logtalkDirTag end=")\." contains=ALL syn region logtalkDir matchgroup=logtalkDirTag start=":- mode(" matchgroup=logtalkDirTag end=")\." contains=logtalkOperator, logtalkAtom +syn region logtalkDir matchgroup=logtalkDirTag start=":- mode_non_terminal(" matchgroup=logtalkDirTag end=")\." contains=logtalkOperator, logtalkAtom syn region logtalkDir matchgroup=logtalkDirTag start=":- dynamic(" matchgroup=logtalkDirTag end=")\." contains=ALL syn match logtalkDirTag ":- built_in\." syn match logtalkDirTag ":- dynamic\." @@ -189,7 +190,7 @@ syn match logtalkOperator "-->" syn match logtalkOperator "->" syn match logtalkKeyword "\<throw\ze(" syn match logtalkKeyword "\<\(instantiation\|system\)_error\>" -syn match logtalkKeyword "\<\(uninstantiation\|type\|domain\|existence\|permission\|representation\|evaluation\|resource\|syntax\)_error\ze(" +syn match logtalkKeyword "\<\(uninstantiation\|type\|domain\|consistency\|existence\|permission\|representation\|evaluation\|resource\|syntax\)_error\ze(" " Term unification -- -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1vbfSi-00ARgw-NV%40256bit.org.
