Add code_zig for Zig programming language, for great justice (#3782) zigster

* Add code_zig for Zig programming language, for great justice

* fix dupes
This commit is contained in:
Scribe of the Ziggurat 2022-12-01 04:40:21 +10:00 committed by GitHub
parent c1dfc53e58
commit daf74a1faf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 157 additions and 1 deletions

View file

@ -430,7 +430,8 @@
"code_visual_basic",
"code_arduino",
"code_systemverilog",
"code_elixir"
"code_elixir",
"code_zig"
]
},
{

View file

@ -254,4 +254,5 @@
,"code_arduino"
,"code_systemverilog"
,"code_elixir"
,"code_zig"
]

View file

@ -0,0 +1,154 @@
{
"name": "code_zig",
"leftToRight": true,
"noLazyMode": true,
"ligatures": false,
"words": [
"std.debug.print"
,"std.mem.Allocator"
,"allocator"
,"switch"
,"=>"
,"=="
,"+="
,"break"
,"else"
,"orelse"
,"enum"
,"select"
,"defer"
,"struct"
,"u8"
,"?u8"
,"u16"
,"usize"
,"?usize"
,"float"
,"i32"
,"+%"
,"[]const"
,"?[]const"
,"*const"
,"const*"
,"[]u8"
,"?[]u8"
,"bool"
,"import"
,"if"
,"for"
,"while"
,"return"
,"var"
,"@as"
,"@bitCast"
,"@enumToInt"
,"@field"
,"@Type"
,"@TypeOf"
,"@intCast"
,"i+=1"
,"pub"
,"fn()"
,"void"
,"comptime"
,"main()"
,".{}"
,"undefined"
,"array.len"
,"try"
,"expect"
,"true"
,"false"
,"catch"
,"error"
,"unreachable"
,"async"
,"await"
,"suspend"
,"resume"
,"frame"
,"nosuspend"
,"@Frame"
,"@frame"
,"value"
,"noreturn"
,"blk:"
,"enum(u8)"
,"union"
,":blk"
,"any"
,"anyopaque"
,".name"
,"std.heap.page_allocator"
,"allocator.alloc"
,"allocator.free"
,".init"
,".deinit"
,"arena.allocator"
,".create"
,".destroy"
,"gpa.allocator"
,"gpa.deinit"
,"std.mem.eql"
,"std.ArrayList"
,"std.testing"
,"list.append"
,"std.fs.cwd"
,"buffer"
,"stat.size"
,"iter"
,".iterate"
,"dir.createFile"
,".reader()"
,".writer()"
,"std.io.getStdOut()"
,"stdin.reader()"
,"std.io.Writer"
,"std.fmt"
,"std.json"
,"TokenStream"
,"FixedBufferAllocator"
,"std.json.stringify"
,"std.json.parse"
,"DefaultPrng"
,"random"
,"rand.int"
,"std.time.sleep"
,"AutoHashMap"
,"StringHashMap"
,"HashMap"
,"sort"
,"openDir"
,"self"
,"Self"
,"@This()"
,"iter.next()"
,"bufPrint"
,"{s}"
,"{d}"
,"{}"
,"{?}"
,"{any}"
,"{d:.2}"
,"init-exe"
,"build"
,"-target"
,"aarch64"
,"ReleaseSmall"
,"addExecutable"
,"std.build.Step"
,"addStaticLibrary"
,"setBuildMode"
,"dependOn"
,"callconv"
,"extern"
,"@ptrCast"
,"align"
,"packed"
,"@sizeOf"
,"state"
,"value.*"
,"timer.?.read"
,"|delay|"
]
}