diff options
Diffstat (limited to 'support/vim')
-rw-r--r-- | support/vim/syntax/stage.vim | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/support/vim/syntax/stage.vim b/support/vim/syntax/stage.vim index b5dab28..b18ec0d 100644 --- a/support/vim/syntax/stage.vim +++ b/support/vim/syntax/stage.vim | |||
@@ -19,7 +19,7 @@ syn keyword Statement setup enter | |||
19 | syn keyword Todo TODO FIXME XXX | 19 | syn keyword Todo TODO FIXME XXX |
20 | syn keyword Type function command situation game global player | 20 | syn keyword Type function command situation game global player |
21 | syn keyword Constant null true false | 21 | syn keyword Constant null true false |
22 | syn keyword Builtins display goto exists delete | 22 | syn keyword Builtins display goto exists delete exit return |
23 | 23 | ||
24 | syn match TargetProcess /[a-zA-Z_][a-zA-Z0-9_]*:/he=e-1 | 24 | syn match TargetProcess /[a-zA-Z_][a-zA-Z0-9_]*:/he=e-1 |
25 | 25 | ||
@@ -29,13 +29,11 @@ syn match Special display contained "\\\(x\x\+\|\o\{1,3}\|.\|$\)" | |||
29 | syn match Special display contained "\\\(u\x\{4}\|U\x\{8}\)" | 29 | syn match Special display contained "\\\(u\x\{4}\|U\x\{8}\)" |
30 | 30 | ||
31 | " TODO: do we want to end at end of line too? | 31 | " TODO: do we want to end at end of line too? |
32 | syn region tripSingleString start=+'''+ skip=+\\\\\|\\'+ end=+'''+ contains=Special,CmdEx | 32 | syn region singleString start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=Special |
33 | syn region tripDoubleString start=+"""+ skip=+\\\\\|\\"+ end=+"""+ contains=Special,CmdEx | 33 | syn region doubleString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=Special |
34 | syn region singleString start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=Special,CmdEx | 34 | syn region tripSingleString start=+'''+ end=+'''+ contains=Special |
35 | syn region doubleString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=Special,CmdEx | 35 | syn region tripDoubleString start=+"""+ end=+"""+ contains=Special |
36 | syn region sitName start=+<<+ end=+>>+ contains=Special,CmdEx | 36 | syn region sitName start=+<<+ end=+>>+ contains=Special |
37 | |||
38 | syn region CmdEx start=+$(+ skip=+"\|\\)\|\\\\+ end=+)+ | ||
39 | 37 | ||
40 | syn case ignore | 38 | syn case ignore |
41 | syn match Numbers display transparent "\<\d\|\.\d" contains=Number,Float,OctalError,Octal | 39 | syn match Numbers display transparent "\<\d\|\.\d" contains=Number,Float,OctalError,Octal |