Skip to content

Commit d117104

Browse files
authored
Variable name _then_ type. It's awkward otherwise. (#897)
1 parent e882b9f commit d117104

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/chilly-cheetahs-cross.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/theme-language-server-common': patch
3+
---
4+
5+
Fix LiquidDoc @param completion placeholder regression

packages/theme-language-server-common/src/utils/liquidDoc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const SUPPORTED_LIQUID_DOC_TAG_HANDLES = {
3737
" @param {number} [fav_num] - The person's favorite number\n" +
3838
" @param {product} prod - The person's chosen product\n" +
3939
'{% enddoc %}\n',
40-
template: `param {$1} $2$0`,
40+
template: `param {$2} $1$0`,
4141
},
4242
[SupportedDocTagTypes.Example]: {
4343
description: 'Provides an example on how to use the snippet.',

0 commit comments

Comments
 (0)