view syntax/hgqseries.vim @ 111:01edb7c58e0c

Don't touch vim registers holding deletions. (Fix commit c02360b5f... where typing 'p' after :Hgvdiff would paste a blank line and not what the user had previously deleted.)
author Shane Harper <shane@shaneharper.net>
date Thu, 04 Dec 2014 11:09:19 +1100
parents 1fbba48019b5
children
line wrap: on
line source

" Vim syntax file
" Language:     hg qseries 'augmented' output
" Maintainer:   Ludovic Chabant <ludovic@chabant.com>
" Filenames:    <none>

if exists("b:current_syntax")
    finish
endif

syn case match

syn match hgqseriesApplied      /^\*[^:]+: /
syn match hgqseriesUnapplied    /^[^\*].*: /

hi def link hgqseriesApplied    Identifier
hi def link hgqseriesUnapplied  Comment