about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--mu.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/mu.vim b/mu.vim
index b6444656..363ac862 100644
--- a/mu.vim
+++ b/mu.vim
@@ -32,7 +32,8 @@ let b:cmt_head = "#? "
 syntax match muDelimiter "[{}]"  | highlight link muDelimiter Delimiter
 
 " Mu literals
-syntax match muLiteral %\<\(0x\)\?[0-9-]\?[0-9]\+%
+syntax match muLiteral %\<-\?[0-9][0-9A-Fa-f]*\>%
+syntax match muLiteral %\<-\?0x[0-9A-Fa-f]\+\>%
 syntax match muLiteral %"[^"]*"%
 highlight link muLiteral Constant