Commits

ZyX_I  committed 9fb82f8

Added syntax for annotate

  • Participants
  • Parent commits c5e041c

Comments (0)

Files changed (1)

File syntax/aurumannotate.vim

+if exists('b:current_syntax')
+    finish
+endif
+
+syn match auAnnRevision    /\v^\ *\d+\ / nextgroup=auAnnDescription
+syn match auAnnDescription /\v.{31}/     nextgroup=auAnnDescNameSep contained
+syn match auAnnDescNameSep @\V / @       nextgroup=auAnnAuthor      contained
+syn match auAnnAuthor      /\v.*$/                                  contained
+
+hi def link auAnnRevision    Special
+hi def link auAnnDescNameSep Comment
+
+let b:current_syntax=expand('<sfile>:t:r')