From 87a26c5bf169bafbee837e2323f24cfb07e35250 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 21 Dec 2021 14:41:23 +0100 Subject: Update --- syntax/vlang.vim | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'syntax/vlang.vim') diff --git a/syntax/vlang.vim b/syntax/vlang.vim index 4584ebdf..aae1bd9b 100644 --- a/syntax/vlang.vim +++ b/syntax/vlang.vim @@ -91,10 +91,10 @@ syn match vCodeGen /$if\>/ hi def link vCodeGen Identifier " Predefined types -syn keyword vType chan map bool string error voidptr +syn keyword vType any chan char map bool string error voidptr syn match vOptionalType "\%(\" syn match vOctalInt "\<0o\o\+\>" +syn match vHexInt "\<0x\x\+\>" +syn match vBinaryInt "\<0b[01]\+\>" +syn match vSnakeInt "\<[0-9_]\+\>" hi def link vDecimalInt Integer hi def link vOctalInt Integer +hi def link vHexInt Integer +hi def link vBinaryInt Integer +hi def link vSnakeInt Integer hi def link Integer Number " Floating point -- cgit v1.2.3