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 2dc38afd6af04ea563a0d0d6f61891b5c820e8fe (tree)
parent 12e341cd6c88246b08da8402bc5dd1ec5955930b
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Wed, 18 Jul 2018 10:30:15 -0400

add @setAlignStack syntax

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

diff --git a/syntax/zig.vim b/syntax/zig.vim @@ -40,7 +40,7 @@ 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|errSetCast)>" syn match zigBuiltinFn "\v\@(truncate|typeId|typeInfo|typeName|typeOf|atomicRmw|bytesToSlice|sliceToBytes)>" -syn match zigBuiltinFn "\v\@(intToError|errorToInt|intToEnum|enumToInt)>" +syn match zigBuiltinFn "\v\@(intToError|errorToInt|intToEnum|enumToInt|setAlignStack)>" syn match zigDecNumber display "\<[0-9]\+\%(.[0-9]\+\)\=\%([eE][+-]\?[0-9]\+\)\=" syn match zigHexNumber display "\<0x[a-fA-F0-9]\+\%([a-fA-F0-9]\+\%([pP][+-]\?[0-9]\+\)\?\)\="