From 01ce563dfe3e6cf58337708b9dbb60a8a99fa0f2 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 17 Jun 2018 11:20:53 -0700 Subject: 4262 - literal 'null' --- vimrc.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vimrc.vim') diff --git a/vimrc.vim b/vimrc.vim index 218da388..9618a44b 100644 --- a/vimrc.vim +++ b/vimrc.vim @@ -31,7 +31,8 @@ function! HighlightTangledFile() syntax match muLiteral %[^ ]\+:type/[^ ,]*\|[^ ]\+:type\>% syntax match muLiteral %[^ ]\+:offset/[^ ,]*\|[^ ]\+:offset\>% syntax match muLiteral %[^ ]\+:variant/[^ ,]*\|[^ ]\+:variant\>% - syntax keyword muLiteral true false null + syntax match muLiteral % true\(\/[^ ]*\)\?\| false\(\/[^ ]*\)\?% " literals will never be the first word in an instruction + syntax match muLiteral % null\(\/[^ ]*\)\?% highlight link muLiteral Constant syntax match muAssign " <- \|\" | highlight link muAssign SpecialChar " common keywords -- cgit 1.4.1-2-gfad0