From 98fa1f8c2780cf1c6daf4d31288de48af2159a53 Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 19 Dec 2024 12:30:17 -0500 Subject: [PATCH] [Diff] Update twodot scope --- Git Formats/Git Diff.sublime-syntax | 2 +- Git Formats/tests/syntax_test_git_diff.patch | 4 ++-- Git Formats/tests/syntax_test_git_diff_combined.patch | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Git Formats/Git Diff.sublime-syntax b/Git Formats/Git Diff.sublime-syntax index a18bae1d35..21abd3457e 100644 --- a/Git Formats/Git Diff.sublime-syntax +++ b/Git Formats/Git Diff.sublime-syntax @@ -524,7 +524,7 @@ contexts: separator-twodot: - match: \.\. - scope: keyword.operator.logical.git + scope: punctuation.separator.range.git file-modes: - match: \b(?:100)?644\b diff --git a/Git Formats/tests/syntax_test_git_diff.patch b/Git Formats/tests/syntax_test_git_diff.patch index 86359c7f16..25ddfa4554 100644 --- a/Git Formats/tests/syntax_test_git_diff.patch +++ b/Git Formats/tests/syntax_test_git_diff.patch @@ -126,7 +126,7 @@ index 0000000000000000000000000000000000000000..064fa38be3ecd426a3c8977ed43df627 \^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.block.header.diff \^^^^ keyword.other.diff \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constant.language.null.git -\ ^^ keyword.operator.logical.git +\ ^^ punctuation.separator.range.git \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constant.other.hash.git GIT binary patch literal 50966 @@ -149,7 +149,7 @@ index 626bad58a4b2cec0becf93a6473ea19a74752019..7267a0c132111ef91e957a67aaaa5621 \^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.block.header.diff \^^^^ keyword.other.diff \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constant.other.hash.git -\ ^^ keyword.operator.logical.git +\ ^^ punctuation.separator.range.git \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constant.other.hash.git GIT binary patch delta 946 diff --git a/Git Formats/tests/syntax_test_git_diff_combined.patch b/Git Formats/tests/syntax_test_git_diff_combined.patch index 54ea02d3e4..bdd817c4a8 100644 --- a/Git Formats/tests/syntax_test_git_diff_combined.patch +++ b/Git Formats/tests/syntax_test_git_diff_combined.patch @@ -6,7 +6,7 @@ index fabadb8,cc95eb0..4866510 644 \ ^^^^^^^ constant.other.hash.git \ ^ punctuation.separator.sequence.git \ ^^^^^^^ constant.other.hash.git -\ ^^ keyword.operator.logical.git +\ ^^ punctuation.separator.range.git \ ^^^^^^^ constant.other.hash.git \ ^^^ meta.number.integer.octal.diff constant.numeric.value.diff --- a/describe.c