constants
This commit is contained in:
parent
21e4a63b6f
commit
86f0e421f4
1 changed files with 18 additions and 0 deletions
|
@ -69,6 +69,24 @@ hi def link maudePunc Operator
|
|||
syn match maudeDelim '[{}\[\](),]\|\%(^\|\s\)\zs\.\ze\%(\s\|$\)'
|
||||
hi def link maudeDelim Delimiter
|
||||
|
||||
syn match maudeString /"\%([^"\\]\|\\.\)*"/ contains=maudeStringEsc
|
||||
hi def link maudeString String
|
||||
|
||||
syn match maudeStringEsc /\\./ contained
|
||||
hi def link maudeStringEsc SpecialChar
|
||||
|
||||
syn match maudeIdEsc /`[\[\]{}()]\?/
|
||||
hi def link maudeIdEsc SpecialChar
|
||||
|
||||
syn match maudeQid /''\?\S\+/
|
||||
syn match maudeQid /'"\%([^"\\]\|\\.\)*"/ contains=maudeStringEsc
|
||||
hi def link maudeQid Constant
|
||||
|
||||
syn match maudeNum !-\?\d\+\%(/\d\+\)\?!
|
||||
syn match maudeNum /-\?\d\+\.\d\+\%([Ee][+-]\?\d\+\)\?/
|
||||
syn keyword maudeNum Infinity -Infinity
|
||||
hi def link maudeNum Number
|
||||
|
||||
|
||||
syn keyword maudeCommand load set quit
|
||||
hi def link maudeCommand Special
|
||||
|
|
Loading…
Add table
Reference in a new issue