about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-07-11 21:20:06 -0700
committerKartik Agaram <vc@akkartik.com>2020-07-11 21:20:06 -0700
commitd23f5ea2c6cea902b4db342139616850ddec0a31 (patch)
tree5bb22f404b0550bf6d562911ffdee19237d70ed6
parent7b5ad6028ce8a3f3aa8184c5c3e6860008596dff (diff)
downloadmu-d23f5ea2c6cea902b4db342139616850ddec0a31.tar.gz
6634 - highlight bad variables in vim
-rw-r--r--mu.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/mu.vim b/mu.vim
index afe7704b..faa4a1e4 100644
--- a/mu.vim
+++ b/mu.vim
@@ -40,6 +40,8 @@ syntax match muLiteral %\<-\?[0-9][0-9A-Fa-f]*\>%
 syntax match muLiteral %\<-\?0x[0-9A-Fa-f]\+\>%
 syntax match muLiteral %"[^"]*"%
 highlight link muLiteral Constant
+syntax match muError %\<[0-9][0-9A-Fa-f]*[^0-9A-Fa-f]\>%
+highlight link muError Error
 
 " sources of action at a distance
 syntax match muAssign "<-"