File tree Expand file tree Collapse file tree 2 files changed +27
-31
lines changed Expand file tree Collapse file tree 2 files changed +27
-31
lines changed Original file line number Diff line number Diff line change 584
584
"language" : " loremipsum" ,
585
585
"path" : " ./snippets/loremipsum.json"
586
586
},
587
- {
588
- "language" : " cmake" ,
589
- "path" : " ./snippets/cmake.json"
590
- },
587
+ {
588
+ "language" : " cmake" ,
589
+ "path" : " ./snippets/cmake.json"
590
+ },
591
591
{
592
592
"language" : " zig" ,
593
593
"path" : " ./snippets/zig.json"
Original file line number Diff line number Diff line change 1
1
{
2
- "Import" : {
3
- "prefix" : " import" ,
4
- "body" : [" const ${1} = @import(\" ${1}\" )" ],
5
- "description" : " Importing Librarys"
6
- },
7
- "CImport" : {
8
- "prefix" : " cimport" ,
9
- "body" : [
10
- " const c = @cImport({" ,
11
- " @cDefine(\" ${1}\" )" ,
12
- " });"
13
- ],
14
- "description" : " Importing C Header Files"
15
- },
16
- "buildExe" : {
17
- "prefix" : " bExe" ,
18
- "body" : [
19
- " const exe = b.addExecutable(.{" ,
20
- " .name = \" ${1}" ,\",
21
- " .root_source_file = b.path(\" ${2: path}\" )," ,
22
- " .target = target," ,
23
- " .optimize = optimize," ,
24
- " });" ,
25
- " \n\n\n b.installArtifact(exe);" ,
26
- ],
27
- "description" : " Building an exe"
28
- }
2
+ "Import" : {
3
+ "prefix" : " import" ,
4
+ "body" : [" const ${1} = @import(\" ${1}\" )" ],
5
+ "description" : " Importing Libraries"
6
+ },
7
+ "CImport" : {
8
+ "prefix" : " cimport" ,
9
+ "body" : [" const c = @cImport({" , " @cDefine(\" ${1}\" )" , " });" ],
10
+ "description" : " Importing C Header Files"
11
+ },
12
+ "buildExe" : {
13
+ "prefix" : " bExe" ,
14
+ "body" : [
15
+ " const exe = b.addExecutable(.{" ,
16
+ " .name = \" ${1}\" ," ,
17
+ " .root_source_file = b.path(\" ${2:path}\" )," ,
18
+ " .target = target," ,
19
+ " .optimize = optimize," ,
20
+ " });" ,
21
+ " b.installArtifact(exe);"
22
+ ],
23
+ "description" : " Building an exe"
24
+ }
29
25
}
You can’t perform that action at this time.
0 commit comments