From 2f9a1055680dd4d237fcec3d8eba5d33bb68955a Mon Sep 17 00:00:00 2001 From: Evgeny Skvortsov <71790359+EvgSkv@users.noreply.github.com> Date: Tue, 28 May 2024 21:49:10 -0700 Subject: [PATCH] Update sublime syntax. --- syntax/sublime/logica.sublime-syntax | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/syntax/sublime/logica.sublime-syntax b/syntax/sublime/logica.sublime-syntax index e980eba..71f7adf 100644 --- a/syntax/sublime/logica.sublime-syntax +++ b/syntax/sublime/logica.sublime-syntax @@ -49,8 +49,12 @@ contexts: scope: storage.type - match: '(?<=\.)[a-z]\w*' scope: markup.italic - - match: \b[A-Z]\w*\b + - match: '^[A-Z]\w*\b' scope: entity.name.function + - match: '@[A-Z]\w*\b' + scope: markup.italic ++ variable.function + - match: \b[A-Z]\w*\b + scope: variable.function - match: \d*\.\d+ scope: constant.numeric - match: \d*