Skip to content

Commit

Permalink
[Diff] Update twodot scope
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelblyons committed Dec 19, 2024
1 parent 15622fc commit 98fa1f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Git Formats/Git Diff.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Git Formats/tests/syntax_test_git_diff.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Git Formats/tests/syntax_test_git_diff_combined.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98fa1f8

Please sign in to comment.