neovim

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

commit cde32b330735b20beb2e3255030516f0cc90ba60
parent 3e29197483461350bb2fd44735ebbab694738b13
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat,  3 Jan 2026 08:23:21 +0800

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 <pmoura@logtalk.org>
Diffstat:
Mruntime/ftplugin/logtalk.dict | 2++
Mruntime/syntax/logtalk.vim | 7++++---
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git 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 @@ -2,7 +2,7 @@ " " Language: Logtalk " Maintainer: Paulo Moura <pmoura@logtalk.org> -" 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