File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,17 @@ syn keyword httpResultTitle GET POST PATCH PUT HEAD DELETE nextgroup=httpResult
55syn match httpResultPath " .*$" contained
66syn match httpResultField / ^\(\w\) [^:]\+ :/ he =e - 1
77
8+ syn region httpResultString start =/ \v r?"/ end =/ \v "/
9+ syn match httpResultNumber / \v ([a-zA-Z_:]\d *)@<!\d +(\. (\d +)?)?/
10+
811syn include @json syntax/json.vim
9- syn region jsonBody start =" \v ^ \{ " end =" \v\S + \} $" contains =@json keepend
12+ syn region jsonBody start =" \v\{ " end =" \v\} $" contains =@json keepend
1013
1114hi link httpResultComment Comment
1215hi link httpResultTitle Type
1316hi link httpResultPath Title
1417hi link httpResultField Variable
18+ hi link httpResultString String
19+ hi link httpResultNumber Number
1520
1621let b: current_syntax = " httpResult"
You can’t perform that action at this time.
0 commit comments