fix number literals
This commit is contained in:
parent
86f0e421f4
commit
6cba1c2dff
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ syn match maudeQid /''\?\S\+/
|
||||||
syn match maudeQid /'"\%([^"\\]\|\\.\)*"/ contains=maudeStringEsc
|
syn match maudeQid /'"\%([^"\\]\|\\.\)*"/ contains=maudeStringEsc
|
||||||
hi def link maudeQid Constant
|
hi def link maudeQid Constant
|
||||||
|
|
||||||
syn match maudeNum !-\?\d\+\%(/\d\+\)\?!
|
syn match maudeNum !\%(^\|\s\)\zs-\?\d\+\%(/\d\+\)\?\ze\%(\s\|$\)!
|
||||||
syn match maudeNum /-\?\d\+\.\d\+\%([Ee][+-]\?\d\+\)\?/
|
syn match maudeNum /\%(^\|\s\)\zs-\?\d\+\.\d\+\%([Ee][+-]\?\d\+\)\?\ze\%(\s\|$\)/
|
||||||
syn keyword maudeNum Infinity -Infinity
|
syn keyword maudeNum Infinity -Infinity
|
||||||
hi def link maudeNum Number
|
hi def link maudeNum Number
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue