aboutsummaryrefslogtreecommitdiff
path: root/vim.dot.link/syntax/git-status.vim
blob: 4cf05e57e31fa11bb73db2d340e8b0083fc1930b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
runtime syntax/diff.vim
setlocal filetype=

syntax match gitStatusComment   +^#.*+ contains=ALL

syntax match gitStatusBranch    +On branch .\++

syntax match gitStatusUndracked +\t\zs.\++
syntax match gitStatusNewFile   +\t\zsnew file: .\++
syntax match gitStatusModified  +\t\zsmodified: .\++

highlight link gitStatusComment     Comment

highlight link gitStatusBranch      Title

highlight link gitStatusUndracked   diffOnly
highlight link gitStatusNewFile     diffAdded
highlight link gitStatusModified    diffChanged