summaryrefslogtreecommitdiffstats
path: root/syntax/git.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-07-28 17:54:35 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-07-28 17:54:35 +0200
commitce31cd1d2f4e8eee9fd91325e4599f15cb9566fd (patch)
tree2306b79bdae6846233214734753be86ca6a13d7f /syntax/git.vim
parent554a6ac7575f87b5b85d1b2bf60e7071c4164cbc (diff)
downloadvim-polyglot-ce31cd1d2f4e8eee9fd91325e4599f15cb9566fd.tar.gz
vim-polyglot-ce31cd1d2f4e8eee9fd91325e4599f15cb9566fd.zip
Update
Diffstat (limited to 'syntax/git.vim')
-rw-r--r--syntax/git.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/git.vim b/syntax/git.vim
index 558d39b5..9d8efc69 100644
--- a/syntax/git.vim
+++ b/syntax/git.vim
@@ -33,7 +33,7 @@ syn match gitDiffAdded "{+[^}]*+}" contained containedin=gitDiff
syn match gitDiffRemoved "^ \+-.*" contained containedin=gitDiffMerge
syn match gitDiffRemoved "\[-[^]]*-\]" contained containedin=gitDiff
-syn match gitKeyword /^\%(object\|type\|tag\|commit\|tree\|parent\|encoding\|gpgsig\|summary\|boundary\|filename\|previous\)\>/ contained containedin=gitHead nextgroup=gitHash,gitType skipwhite contains=@NoSpell
+syn match gitKeyword /^\%(object\|type\|tag\|commit\|tree\|parent\|encoding\|gpgsig\%(-\w\+\)\=\|summary\|boundary\|filename\|previous\)\>/ contained containedin=gitHead nextgroup=gitHash,gitType skipwhite contains=@NoSpell
syn match gitKeyword /^\%(tag\>\|ref:\)/ contained containedin=gitHead nextgroup=gitReference skipwhite contains=@NoSpell
syn match gitKeyword /^Merge:/ contained containedin=gitHead nextgroup=gitHashAbbrev skipwhite contains=@NoSpell
syn match gitMode /^\d\{6\}\>/ contained containedin=gitHead nextgroup=gitType,gitHash skipwhite