diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-04 10:10:52 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-04 10:10:52 +0200 |
commit | 27756b129b7a1f9763a0062aafa8fd35b0181b19 (patch) | |
tree | d329c67d4511395fb7208c0282a1a158230a7856 /syntax/vlang.vim | |
parent | c312d30231f136d2fbb32a2cfea554af5066e6b0 (diff) | |
download | vim-polyglot-27756b129b7a1f9763a0062aafa8fd35b0181b19.tar.gz vim-polyglot-27756b129b7a1f9763a0062aafa8fd35b0181b19.zip |
Update
Diffstat (limited to 'syntax/vlang.vim')
-rw-r--r-- | syntax/vlang.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/vlang.vim b/syntax/vlang.vim index daba962d..4584ebdf 100644 --- a/syntax/vlang.vim +++ b/syntax/vlang.vim @@ -92,6 +92,7 @@ hi def link vCodeGen Identifier " Predefined types syn keyword vType chan map bool string error voidptr +syn match vOptionalType "\%(\<?\)\@<=\(chan\|map\|bool\|string\|error\|voidptr\)" syn keyword vSignedInts int i8 i16 i64 rune intptr syn keyword vUnsignedInts byte u16 u32 u64 byteptr syn keyword vFloats f32 f64 floatptr @@ -99,6 +100,7 @@ syn keyword vFloats f32 f64 floatptr " syn keyword vComplexes complex64 complex128 hi def link vType Type +hi def link vOptionalType Type hi def link vSignedInts Type hi def link vUnsignedInts Type hi def link vFloats Type |