Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 47769cd

Browse files
committed
Use full snippet example
1 parent eca6238 commit 47769cd

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,14 @@ Including a literal closing brace inside the text provided by a snippet's tab st
6363
that tab stop early. To prevent that, escape the brace with two backslashes, like so:
6464

6565
```coffee
66-
'body': """
67-
${1:function () {
68-
statements;
69-
\\}
70-
this line is also included in the snippet tab;
71-
}
72-
"""
66+
'.source.js':
67+
'function':
68+
'prefix': 'funct'
69+
'body': """
70+
${1:function () {
71+
statements;
72+
\\}
73+
this line is also included in the snippet tab;
74+
}
75+
"""
7376
```

0 commit comments

Comments
 (0)