diff options
author | Jon Cairns <jon@joncairns.com> | 2012-08-02 17:31:32 +0100 |
---|---|---|
committer | Jon Cairns <jon@ggapps.co.uk> | 2012-08-02 17:31:32 +0100 |
commit | 221538be885f9353f0f6f15e002df2257e3a1517 (patch) | |
tree | 817f0a760477739e19eeeef5370f5a08dbb55148 /syntax | |
parent | 54edc362c4fe35efed9cb184cf7cf73f1e92574a (diff) | |
download | vdebug-221538be885f9353f0f6f15e002df2257e3a1517.zip |
Added syntax highlighting for watch window
Diffstat (limited to 'syntax')
-rw-r--r-- | syntax/debugger_watch.vim | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/syntax/debugger_watch.vim b/syntax/debugger_watch.vim new file mode 100644 index 0000000..1c5d2fa --- /dev/null +++ b/syntax/debugger_watch.vim @@ -0,0 +1,24 @@ +" Vim syntax file +" Language: Vim Debugger Watch +" Maintainer: Jon Cairns +" Latest Revision: 2 August 2012 + +if exists("b:current_syntax") + finish +endif + +syn match watchMarker '^\s\+[^|\/]' +syn match watchJoiner '^\s\+[|\/^]' +syn match watchVarName '\s\zs.\+\ze\s=' +syn match watchTypeContainer '=\s\zs\(.*\)\ze\s' contains=watchType,watchSize +syn match watchType '\w' contained +syn match watchSize '\[\d\+\]' contained +syn region watchString start='"' skip='\\"' end='"' + + +hi def link watchMarker Special +hi def link watchType Type +hi def link watchString String +hi def link watchVarName Identifier +hi def link watchJoiner Structure +hi def link watchSize Number |