Skip to content

Commit 61ad8ad

Browse files
committed
doc(nix): nix snippets doc
1 parent eb5dbc1 commit 61ad8ad

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,3 +230,26 @@ ls.setup({
230230
| `slw!` | Expands to `StatelessWidget` class. | No |
231231

232232
</details>
233+
234+
<details>
235+
<summary>Nix</summary>
236+
237+
#### Normal Snippets
238+
239+
| Trig | Desc | Context Required |
240+
| :-------: | -------------------------------- | :--------------: |
241+
| `@module` | Expands to a nix module declare. | No |
242+
243+
#### Postfix Snippets
244+
245+
```scheme
246+
[
247+
(identifier)
248+
] @prefix
249+
```
250+
251+
| Trig | Desc (placehoder: `?`) | Expr before cursor |
252+
| :---: | ----------------------------------- | :----------------: |
253+
| `.on` | Expands to enable option statement. | `any_expr` |
254+
255+
</details>

0 commit comments

Comments
 (0)