about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--mu.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/mu.vim b/mu.vim
index e7c188da..ca6baa44 100644
--- a/mu.vim
+++ b/mu.vim
@@ -41,8 +41,8 @@ highlight link muScreen muString
 
 " mu literals
 syntax match muNumber %[^ ]\+:literal/\?[^ ,]*%
-syntax match muNumber %\<[0-9]\+\>%
-syntax match muNumber %\<[0-9]\+/[^ ,]*%
+syntax match muNumber %\<[0-9-]\?[0-9]\+\>%
+syntax match muNumber %\<[0-9-]\?[0-9]\+/[^ ,]*%
 highlight link muNumber Constant
 syntax match muLabel "^\s\+[^ 0-9a-zA-Z{}\[\]][^ ]*\s*$"
 syntax match muLabel %[^ ]\+:label/\?[^ ,]*%