scope correction

This commit is contained in:
Bartek Zbytniewski
2026-04-19 11:51:58 +02:00
parent b9b2c2c927
commit c2b7af94c1
6 changed files with 6 additions and 0 deletions
@@ -8,4 +8,5 @@ data ${1:address} {
]]></content>
<tabTrigger>datatype</tabTrigger>
<description>Data block definition</description>
<scope>source.curlywasm</scope>
</snippet>
@@ -6,4 +6,5 @@ export fn ${1:name}(${2:params}) -> ${3:return_type} {
]]></content>
<tabTrigger>fnexport</tabTrigger>
<description>Exported function definition</description>
<scope>source.curlywasm</scope>
</snippet>
@@ -8,4 +8,5 @@ if ${1:condition} {
]]></content>
<tabTrigger>ifelse</tabTrigger>
<description>If-else statement</description>
<scope>source.curlywasm</scope>
</snippet>
@@ -4,4 +4,5 @@ let inline ${1:variable} = ${2:value};
]]></content>
<tabTrigger>letinline</tabTrigger>
<description>Lazy variable declaration</description>
<scope>source.curlywasm</scope>
</snippet>
@@ -4,4 +4,5 @@ let lazy ${1:variable} = ${2:value};
]]></content>
<tabTrigger>letlazy</tabTrigger>
<description>Lazy variable declaration</description>
<scope>source.curlywasm</scope>
</snippet>
@@ -8,4 +8,5 @@ loop ${1:label} {
]]></content>
<tabTrigger>loopbr</tabTrigger>
<description>Loop with branch_if</description>
<scope>source.curlywasm</scope>
</snippet>