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 = [
2525 label : '#await :then' ,
2626 type : 'keyword'
2727 } ) ,
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+ } )
2933] ;
3034
3135const special_tag_snippets = [
3236 snippetCompletion ( '@html ${}' , { label : '@html' , type : 'keyword' } ) ,
3337 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' } )
3540] ;
3641
3742/**
You can’t perform that action at this time.
0 commit comments