dbgvar.vim 817 B

12345678910111213141516171819202122232425
  1. " Vim syntax file
  2. " Language: debugger variables window syntax file
  3. " Maintainer: <xdegaye at users dot sourceforge dot net>
  4. " Last Change: Oct 8 2007
  5. if exists("b:current_syntax")
  6. finish
  7. endif
  8. syn region dbgVarChged display contained matchgroup=dbgIgnore start="={\*}"ms=s+1 end="$"
  9. syn region dbgDeScoped display contained matchgroup=dbgIgnore start="={-}"ms=s+1 end="$"
  10. syn region dbgVarUnChged display contained matchgroup=dbgIgnore start="={=}"ms=s+1 end="$"
  11. syn match dbgItem display transparent "^.*$"
  12. \ contains=dbgVarUnChged,dbgDeScoped,dbgVarChged,dbgVarNum
  13. syn match dbgVarNum display contained "^\s*\d\+:"he=e-1
  14. high def link dbgVarChged Special
  15. high def link dbgDeScoped Comment
  16. high def link dbgVarNum Identifier
  17. high def link dbgIgnore Ignore
  18. let b:current_syntax = "dbgvar"