File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/site-kit/src/lib/codemirror Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,18 @@ const logic_block_snippets = [
25
25
label : '#await :then' ,
26
26
type : 'keyword'
27
27
} ) ,
28
- snippetCompletion ( '#key ${}}\n\n{/key' , { label : '#key' , type : 'keyword' } )
28
+ snippetCompletion ( '#key ${}}\n\n{/key' , { label : '#key' , type : 'keyword' } ) ,
29
+ snippetCompletion ( '#snippet ${}()}\n\n{/snippet' , {
30
+ label : '#snippet' ,
31
+ type : 'keyword'
32
+ } )
29
33
] ;
30
34
31
35
const special_tag_snippets = [
32
36
snippetCompletion ( '@html ${}' , { label : '@html' , type : 'keyword' } ) ,
33
37
snippetCompletion ( '@debug ${}' , { label : '@debug' , type : 'keyword' } ) ,
34
- snippetCompletion ( '@const ${}' , { label : '@const' , type : 'keyword' } )
38
+ snippetCompletion ( '@const ${}' , { label : '@const' , type : 'keyword' } ) ,
39
+ snippetCompletion ( '@render ${}()' , { label : '@render' , type : 'keyword' } )
35
40
] ;
36
41
37
42
/**
You can’t perform that action at this time.
0 commit comments