File: SVNAnnotate.vim

package info (click to toggle)
vim-scripts 7-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,228 kB
  • ctags: 1,793
  • sloc: perl: 109; makefile: 30; sh: 11
file content (20 lines) | stat: -rw-r--r-- 554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
" Vim syntax file
" Language:	SVN annotate output
" Maintainer:	Bob Hiestand <bob.hiestand@gmail.com>
" Last Change:	2006/05/31
" Remark:	Used by the vcscommand plugin.
if exists("b:current_syntax")
  finish
endif

syn match svnName /\S\+/ contained
syn match svnVer /^\s\+\d\+/ contained nextgroup=svnName skipwhite
syn match svnHead /^\s\+\d\+\s\+\S\+/ contains=svnVer,svnName

if !exists("did_svnannotate_syntax_inits")
  let did_svnannotate_syntax_inits = 1
  hi link svnName Type
  hi link svnVer Statement
endif

let b:current_syntax="svnAnnotate"