Initial commit.
This commit is contained in:
18
vim/syntax/git-status.vim
Normal file
18
vim/syntax/git-status.vim
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user