Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vimagit
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
jreybert
vimagit
Commits
33f381ae
Commit
33f381ae
authored
Mar 8, 2017
by
Jerome Reybert
Browse files
Options
Downloads
Patches
Plain Diff
syntax/magit.vim: fix sha1 highlight
short sha1 default lenght depends on the repo size
parent
f20bfdaa
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
syntax/magit.vim
+1
-1
1 addition, 1 deletion
syntax/magit.vim
with
1 addition
and
1 deletion
syntax/magit.vim
+
1
−
1
View file @
33f381ae
...
...
@@ -37,7 +37,7 @@ execute 'syn match gitInfoRepo "\%(' . g:magit_section_info.cur_repo . ':\)
execute
'syn match gitInfoBranch "\%('
.
g:magit_section_info
.
cur_branch
.
':\)\@<=.*$" oneline'
execute
'syn match gitCommitMode "\%('
.
g:magit_section_info
.
commit_mode
.
':\)\@<=.*$" oneline'
execute
'syn match gitInfoCommit "\%('
.
g:magit_section_info
.
cur_commit
.
':\)\@<=.*$" contains=infoSha1 oneline'
syntax
match
infoSha1 containedin
=
gitInfoCommit
"\x\{7}"
syntax
match
infoSha1 containedin
=
gitInfoCommit
"\x\{7
,
}"
highlight
default link gitInfoRepo Directory
highlight
default link gitInfoBranch Identifier
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment