summaryrefslogtreecommitdiff
path: root/syntax
diff options
context:
space:
mode:
authorJonathan Cairns <jon@joncairns.com>2012-08-09 23:42:24 +0100
committerJonathan Cairns <jon@joncairns.com>2012-08-09 23:42:24 +0100
commit049cf72a9f4e9043db00d21de3270f80396b641c (patch)
tree8a458344ee25bffd3c6540dbf308bb025218247b /syntax
parentd0f2d81bf059c11832df0f1443ea9da014cd6595 (diff)
downloadvdebug-049cf72a9f4e9043db00d21de3270f80396b641c.zip
Added context tabs on watch window and mouse support
Diffstat (limited to 'syntax')
-rw-r--r--syntax/debugger_watch.vim8
1 files changed, 6 insertions, 2 deletions
diff --git a/syntax/debugger_watch.vim b/syntax/debugger_watch.vim
index 254c8ad..d6cdb38 100644
--- a/syntax/debugger_watch.vim
+++ b/syntax/debugger_watch.vim
@@ -7,7 +7,10 @@ if exists("b:current_syntax")
finish
endif
-syn region debuggerWatchTitle start=+^\[+ end=+\s\]$+
+syn match debuggerWatchTabLine '^\s\[.*$' contains=debuggerWatchTab
+syn match debuggerWatchTab '\[\s[^\]]\+\s\]' contains=debuggerWatchTabSel
+syn match debuggerWatchTabSel '\*[a-zA-Z\s]\+' contained
+syn match debuggerWatchTitle '^\-\s[A-Z].\+'
syn match debuggerWatchMarker '^\s\+[^|\/]'
syn match debuggerWatchJoiner '^\s\+[|\/^]'
syn match debuggerWatchNumber '\d\+\.\=\d*'
@@ -23,11 +26,12 @@ syn region debuggerWatchString start=+\s`+ skip=+\\`+ end=+`\s*$+
hi def link debuggerWatchTitle Title
hi def link debuggerWatchMarker Special
+hi def link debuggerWatchTab Special
+hi def link debuggerWatchTabSel Todo
hi def link debuggerWatchTypeContainer Type
hi def link debuggerWatchType Type
hi def link debuggerWatchString String
hi def link debuggerWatchStringKey String
-"hi def link debuggerWatchObjectProperty PreProc
hi def link debuggerWatchVarName Identifier
hi def link debuggerWatchJoiner Structure
hi def link debuggerWatchNumber Number