Skip to content

Commit

Permalink
[Git Formats] Improvements to Git Log from PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
keith-hall committed Aug 24, 2021
1 parent ebd08fb commit 191d3e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Git Formats/Git Log.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ contexts:
escape: $
- match: (?=^index\s)
embed: scope:source.diff
escape: (?=^diff\s--git)
escape: (?=^diff\s--git|^commit\s)

commit-header:
# All header attributes are mappings of `key: value` format.
Expand Down
5 changes: 4 additions & 1 deletion Git Formats/tests/syntax_test_git_log
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,7 @@ index c90bfab4..e9338c70 100644
+
+ <T>() => {};
+// ^^^^^^^^^^^ meta.function
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.diff markup.inserted
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.diff markup.inserted

commit e2077c6e006acfd2f060aef03c4ef8f89c4db362 (HEAD -> branch_name, origin/branch_name)
#^^^^^ meta.header.git markup.raw.block.git keyword.other.commit.git - source.diff

0 comments on commit 191d3e2

Please sign in to comment.