From ff82f41cc001a9eb116225e8eb2fa5bdd0440177 Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 2 Jul 2026 10:44:54 -0400 Subject: [PATCH] [Git] Suppress usernames abutting words --- Git Formats/Git Common.sublime-syntax | 2 +- Git Formats/tests/syntax_test_git_commit | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Git Formats/Git Common.sublime-syntax b/Git Formats/Git Common.sublime-syntax index e6d36a01d2..6acb24b373 100644 --- a/Git Formats/Git Common.sublime-syntax +++ b/Git Formats/Git Common.sublime-syntax @@ -119,7 +119,7 @@ contexts: username: # user reference - - match: (\@)[-\w]+\b + - match: \B(\@)[-\w]+\b scope: meta.reference.username.git entity.name.reference.username.git captures: 1: punctuation.definition.reference.username.git diff --git a/Git Formats/tests/syntax_test_git_commit b/Git Formats/tests/syntax_test_git_commit index be00efabf7..5061fc3b9c 100644 --- a/Git Formats/tests/syntax_test_git_commit +++ b/Git Formats/tests/syntax_test_git_commit @@ -32,6 +32,8 @@ Thanks to @username . # ^ punctuation.separator.email.git # ^ punctuation.separator.domain.git # ^ punctuation.definition.reference.email.end.git +Update to actions/checkout@v7 +#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - meta.reference This is a name # ^^^^^ - meta.reference - entity # ^^^^^^^^^^ - meta.reference - entity