zig snippets
This commit is contained in:
parent
dc8c114773
commit
ac30f59e3c
1 changed files with 12 additions and 0 deletions
12
neovim/snippets/zig.snippets
Normal file
12
neovim/snippets/zig.snippets
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
snippet struct Struct declaration
|
||||||
|
const $1 = struct {
|
||||||
|
${0}
|
||||||
|
};
|
||||||
|
|
||||||
|
snippet enum Enum declaration
|
||||||
|
const $1 = union(enum) {
|
||||||
|
${0}
|
||||||
|
};
|
||||||
|
|
||||||
|
snippet dbg Debug print
|
||||||
|
std.debug.print("$1\n", .{ $0 });
|
||||||
Loading…
Add table
Add a link
Reference in a new issue