diff --git a/lsp/markdown/completion/configDeclare.md b/lsp/markdown/completion/configDeclare.md index 23bac2ed9..85d608bed 100644 --- a/lsp/markdown/completion/configDeclare.md +++ b/lsp/markdown/completion/configDeclare.md @@ -8,4 +8,4 @@ var defaultUser = ftl.Config[string]("defaultUser") See https://tbd54566975.github.io/ftl/docs/reference/secretsconfig/ --- -var ${1:configVar} = ftl.Config[${2:Type}](${1:configVar}) +var ${1:configVar} = ftl.Config[${2:Type}]("${1:configVar}") diff --git a/lsp/markdown/completion/cron.md b/lsp/markdown/completion/cron.md index 05b665c2f..994af965b 100644 --- a/lsp/markdown/completion/cron.md +++ b/lsp/markdown/completion/cron.md @@ -18,4 +18,3 @@ func ${1:Name}(ctx context.Context) error { ${3:// TODO: Implement} return nil } -``` diff --git a/lsp/markdown/completion/cronExpression.md b/lsp/markdown/completion/cronExpression.md index e604509b0..6e7df3bbe 100644 --- a/lsp/markdown/completion/cronExpression.md +++ b/lsp/markdown/completion/cronExpression.md @@ -18,4 +18,3 @@ func ${1:Name}(ctx context.Context) error { ${7:// TODO: Implement} return nil } -``` \ No newline at end of file diff --git a/lsp/markdown/completion/fsmDeclare.md b/lsp/markdown/completion/fsmDeclare.md index 647379d94..57802ae2c 100644 --- a/lsp/markdown/completion/fsmDeclare.md +++ b/lsp/markdown/completion/fsmDeclare.md @@ -19,4 +19,3 @@ var ${1:FSM} = ftl.FSM( ftl.Start(${2:verbState}), ftl.Transition(${2:fromVerbState}, ${3:toVerbState}), ) -``` diff --git a/lsp/markdown/completion/secretDeclare.md b/lsp/markdown/completion/secretDeclare.md index 78e1c58ab..3c789a125 100644 --- a/lsp/markdown/completion/secretDeclare.md +++ b/lsp/markdown/completion/secretDeclare.md @@ -8,4 +8,4 @@ var apiKey = ftl.Secret[string]("apiKey") See https://tbd54566975.github.io/ftl/docs/reference/secretsconfig/ --- -var ${1:secretVar} = ftl.Secret[${2:Type}](${3:secretVar}) +var ${1:secretVar} = ftl.Secret[${2:Type}]("${1:secretVar}") diff --git a/lsp/markdown/completion/typeAlias.md b/lsp/markdown/completion/typeAlias.md index 6ce318aeb..e92ce9f6e 100644 --- a/lsp/markdown/completion/typeAlias.md +++ b/lsp/markdown/completion/typeAlias.md @@ -11,4 +11,3 @@ See https://tbd54566975.github.io/ftl/docs/reference/types/ --- //ftl:typealias type ${1:Alias} ${2:Type} -``` \ No newline at end of file