Skip to content

Commit efff286

Browse files
Add more nix snippets (#506)
* feat(nix): add with expression snippet * feat(nix): add inherit snippet
1 parent 7ab7eda commit efff286

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

snippets/nix.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,15 @@
9393
"};"
9494
],
9595
"description": "Nixpkgs' minimal meta attribute set"
96+
},
97+
"with": {
98+
"prefix": "with",
99+
"body": ["with $1; $0;"],
100+
"description": "with expression"
101+
},
102+
"inherit": {
103+
"prefix": "inherit",
104+
"body": ["inherit $1;"],
105+
"description": "inherit expression"
96106
}
97107
}

0 commit comments

Comments
 (0)