6634 - highlight bad variables in vim

This commit is contained in:
Kartik Agaram 2020-07-11 21:20:06 -07:00
parent 7b5ad6028c
commit d23f5ea2c6
1 changed files with 2 additions and 0 deletions

2
mu.vim
View File

@ -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 "<-"