hare.vim

[vim] Hare vim plugin
git clone https://git.torresjrjr.com/hare.vim.git
Log | Files | Refs | README | LICENSE

commit 566ce0630e3f81c7ee1776181be871c4ff850e22
parent 3a233eac8647673e1e32437915791c706423503f
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 20 Mar 2022 11:26:17 +0100

Add C-style variadic keywords

Diffstat:
Msyntax/hare.vim | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/syntax/hare.vim b/syntax/hare.vim @@ -11,6 +11,7 @@ syn keyword hareBranch for return break continue yield syn keyword hareConditional if else match switch syn keyword hareLabel case syn keyword hareBuiltin len offset free alloc assert append abort delete insert +syn keyword hareBuiltin vastart vaarg syn keyword hareOperator is as syn match hareType "\vsize((\_\s|//.*)*\()@!" syn match hareBuiltin "\vsize((\_\s|//.*)*\()@=" @@ -52,6 +53,7 @@ syn keyword hareType struct union syn keyword hareType enum syn keyword hareType nullable syn keyword hareType rune +syn keyword hareType valist syn keyword hareNull null syn keyword hareBoolean true false