diff options
Diffstat (limited to 'modules/vim/vim.dot.link/syntax/git-status.vim')
-rw-r--r-- | modules/vim/vim.dot.link/syntax/git-status.vim | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/vim/vim.dot.link/syntax/git-status.vim b/modules/vim/vim.dot.link/syntax/git-status.vim new file mode 100644 index 0000000..4cf05e5 --- /dev/null +++ b/modules/vim/vim.dot.link/syntax/git-status.vim @@ -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 |