about summary refs log tree commit diff stats
path: root/mu.vim
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-03-02 08:23:54 -0800
committerKartik Agaram <vc@akkartik.com>2020-03-02 08:23:54 -0800
commita53ab5266f1d29de4f024d4369e10d673c931580 (patch)
tree83ed0769be4c823984b1eff99f1383ae98c6b69e /mu.vim
parent32d5099fa005bdeed30bd1e6798b81e3a75f1a1a (diff)
downloadmu-a53ab5266f1d29de4f024d4369e10d673c931580.tar.gz
6078 - highlight hex literals in Vim
Diffstat (limited to 'mu.vim')
-rw-r--r--mu.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/mu.vim b/mu.vim
index aea6dfb9..b6444656 100644
--- a/mu.vim
+++ b/mu.vim
@@ -32,7 +32,7 @@ let b:cmt_head = "#? "
 syntax match muDelimiter "[{}]"  | highlight link muDelimiter Delimiter
 
 " Mu literals
-syntax match muLiteral %\<[0-9-]\?[0-9]\+%
+syntax match muLiteral %\<\(0x\)\?[0-9-]\?[0-9]\+%
 syntax match muLiteral %"[^"]*"%
 highlight link muLiteral Constant