Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 1.0
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 0.9 kB
"=================================================
" File: undotree.vim
" Description: undotree syntax
" Author: Ming Bai <mbbill@gmail.com>
" License: BSD
if exists("b:undotree_syntax")
finish
endif
syn match UndotreeNode ' \zs\*\ze '
syn match UndotreeNodeCurrent '\zs\*\ze.*>\d\+<'
syn match UndotreeTime '..:..:..*$'
syn match UndotreeFirstNode '-*$'
syn match UndotreeBranch '[|/\\]'
syn match UndotreeSeq ' \zs\d\+\ze '
syn match UndotreeCurrent '>\d\+<'
syn match UndotreeNext '{\d\+}'
syn match UndotreeHead '\[\d\+]'
hi link UndotreeNode Question
hi link UndotreeNodeCurrent CursorLineNr
hi link UndotreeTime Underlined
hi link UndotreeFirstNode Function
hi link UndotreeBranch Constant
hi link UndotreeSeq Comment
hi link UndotreeCurrent CursorLineNr
hi link UndotreeNext Type
hi link UndotreeHead Identifier
let b:undotree_syntax = 'undotree'
" vim: set et fdm=marker sts=4 sw=4:
Jump to Line
Something went wrong with that request. Please try again.