mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-01 12:20:30 +00:00
27 lines
867 B
VimL
27 lines
867 B
VimL
" Vim syntax file
|
|
" Language: debugger variables window syntax file
|
|
" Maintainer: <xdegaye at users dot sourceforge dot net>
|
|
" Last Change: Oct 8 2007
|
|
" $Id: dbgvar.vim 2 2007-12-23 15:10:42Z xavier $
|
|
|
|
if exists("b:current_syntax")
|
|
finish
|
|
endif
|
|
|
|
syn region dbgVarChged display contained matchgroup=dbgIgnore start="={\*}"ms=s+1 end="$"
|
|
syn region dbgDeScoped display contained matchgroup=dbgIgnore start="={-}"ms=s+1 end="$"
|
|
syn region dbgVarUnChged display contained matchgroup=dbgIgnore start="={=}"ms=s+1 end="$"
|
|
|
|
syn match dbgItem display transparent "^.*$"
|
|
\ contains=dbgVarUnChged,dbgDeScoped,dbgVarChged,dbgVarNum
|
|
|
|
syn match dbgVarNum display contained "^\s*\d\+:"he=e-1
|
|
|
|
high def link dbgVarChged Special
|
|
high def link dbgDeScoped Comment
|
|
high def link dbgVarNum Identifier
|
|
high def link dbgIgnore Ignore
|
|
|
|
let b:current_syntax = "dbgvar"
|
|
|