motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 676e8ca79340020f14be45dc80dcbb36ff276741 (tree)
parent d4d6f88c31e784619428fdd3b820dfc705415f72
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Mon, 18 Jun 2018 01:41:54 -0400

add @boolToInt

Diffstat:
Msyntax/zig.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/zig.vim b/syntax/zig.vim @@ -38,7 +38,7 @@ syn match zigBuiltinFn "\v\@(noInlineCall|offsetOf|OpaqueType|panic|ptrCast)>" syn match zigBuiltinFn "\v\@(ptrToInt|rem|returnAddress|setCold)>" syn match zigBuiltinFn "\v\@(setRuntimeSafety|setEvalBranchQuota|setFloatMode)>" syn match zigBuiltinFn "\v\@(setGlobalLinkage|setGlobalSection|shlExact)>" -syn match zigBuiltinFn "\v\@(shlWithOverflow|shrExact|sizeOf|sqrt|subWithOverflow|intCast|floatCast|intToFloat|floatToInt)>" +syn match zigBuiltinFn "\v\@(shlWithOverflow|shrExact|sizeOf|sqrt|subWithOverflow|intCast|floatCast|intToFloat|floatToInt|boolToInt)>" syn match zigBuiltinFn "\v\@(truncate|typeId|typeInfo|typeName|typeOf|atomicRmw)>" syn match zigDecNumber display "\<[0-9]\+\%(.[0-9]\+\)\=\%([eE][+-]\?[0-9]\+\)\="