summaryrefslogtreecommitdiff
path: root/syntax
diff options
context:
space:
mode:
authorJon Cairns <jon@joncairns.com>2012-08-07 13:33:32 +0100
committerJon Cairns <jon@ggapps.co.uk>2012-08-07 13:33:32 +0100
commitbfc35260be2b8dc5e1d98178abf6144f250a7b74 (patch)
treeea18295eb2eb0b5055e52eae50d4024cb2ca48f4 /syntax
parentfbadbaf9e7290b747054ee38b86452bceef6bf5d (diff)
downloadvdebug-bfc35260be2b8dc5e1d98178abf6144f250a7b74.zip
Working for Ruby, Python and PHP, with breakpoint removal and listing
Diffstat (limited to 'syntax')
-rw-r--r--syntax/debugger_status.vim12
-rw-r--r--syntax/debugger_watch.vim6
2 files changed, 11 insertions, 7 deletions
diff --git a/syntax/debugger_status.vim b/syntax/debugger_status.vim
index ceb4b80..73137d9 100644
--- a/syntax/debugger_status.vim
+++ b/syntax/debugger_status.vim
@@ -11,10 +11,12 @@ syn match debuggerStatusIdentifier '^Status:'
syn match debuggerStatusBreak '\s\zsbreak\ze'
syn match debuggerStatusStart '\s\zsrunning\ze'
syn match debuggerStatusStop '\s\zs\(stopped\|stopping\)\ze'
-syn region debuggerStatusInfo start='Press' end='information.'
+syn match debuggerStatusInfo '^\(Not\|Connected\|Listening\).*$'
+syn region debuggerStatusHelp start='Press' end='information.'
-hi def link debuggerStatusIdentifier Type
-hi def link debuggerStatusStop Special
-hi def link debuggerStatusBreak Error
+hi def link debuggerStatusIdentifier Title
+hi def link debuggerStatusStop Error
+hi def link debuggerStatusBreak Special
hi def link debuggerStatusStart Constant
-hi def link debuggerStatusInfo Comment
+hi def link debuggerStatusInfo Type
+hi def link debuggerStatusHelp Comment
diff --git a/syntax/debugger_watch.vim b/syntax/debugger_watch.vim
index 5be4dd7..aa9b55b 100644
--- a/syntax/debugger_watch.vim
+++ b/syntax/debugger_watch.vim
@@ -1,5 +1,5 @@
" Vim syntax file
-" Language: Vim Debugger debuggerWatch
+" Language: Vim Debugger Watch Window
" Maintainer: Jon Cairns
" Latest Revision: 2 August 2012
@@ -7,9 +7,10 @@ if exists("b:current_syntax")
finish
endif
+syn region debuggerWatchTitle start=+\[+ end=+\s\]+
syn match debuggerWatchMarker '^\s\+[^|\/]'
syn match debuggerWatchJoiner '^\s\+[|\/^]'
-syn match debuggerWatchNumber '\d\+\.\=\d*'
+syn match debuggerWatchNumber '\d\+\.\=\d*'
syn match debuggerWatchVarName '\s\zs.\+\ze\s=' contains=debuggerWatchStringKey
syn match debuggerWatchStringKey '\'[^']\+\'' contained
syn match debuggerWatchTypeContainer '=\s\zs(.*)\ze\s' contains=debuggerWatchType,debuggerWatchSize
@@ -19,6 +20,7 @@ syn match debuggerWatchSize '\[\zs\d\+\ze\]' contained
syn region debuggerWatchString start=+\s`+ skip=+\\`+ end=+`\s*$+
+hi def link debuggerWatchTitle Title
hi def link debuggerWatchMarker Special
hi def link debuggerWatchTypeContainer Type
hi def link debuggerWatchType Type