From cde32b330735b20beb2e3255030516f0cc90ba60 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 3 Jan 2026 08:23:21 +0800 Subject: [PATCH] vim-patch:cc71684: runtime(logtalk): Update Logtalk runtime files for the latest language spec (#37205) closes: vim/vim#19058 https://github.com/vim/vim/commit/cc71684ab0025e87b697ed0b359214061f143392 Co-authored-by: Paulo Moura --- runtime/ftplugin/logtalk.dict | 2 ++ runtime/syntax/logtalk.vim | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/runtime/ftplugin/logtalk.dict b/runtime/ftplugin/logtalk.dict index 0d076b7b3e..386cf1f2ab 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 2c6c82aaa0..366f888b66 100644 --- a/runtime/syntax/logtalk.vim +++ b/runtime/syntax/logtalk.vim @@ -2,7 +2,7 @@ " " Language: Logtalk " Maintainer: Paulo Moura -" 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'\)\@" syn match logtalkOperator "->" syn match logtalkKeyword "\" -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