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 201c7342706d1b256a6746ae6a2198de5d451c52 (tree)
parent 676e8ca79340020f14be45dc80dcbb36ff276741
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Mon, 18 Jun 2018 14:42:59 -0400

add @errSetCast

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|boolToInt)>" +syn match zigBuiltinFn "\v\@(shlWithOverflow|shrExact|sizeOf|sqrt|subWithOverflow|intCast|floatCast|intToFloat|floatToInt|boolToInt|errSetCast)>" syn match zigBuiltinFn "\v\@(truncate|typeId|typeInfo|typeName|typeOf|atomicRmw)>" syn match zigDecNumber display "\<[0-9]\+\%(.[0-9]\+\)\=\%([eE][+-]\?[0-9]\+\)\="