diff --git a/cmd/templ/lspcmd/snippets.go b/cmd/templ/lspcmd/snippets.go index fdb8e9329..37a9d6b0e 100644 --- a/cmd/templ/lspcmd/snippets.go +++ b/cmd/templ/lspcmd/snippets.go @@ -3,6 +3,14 @@ package lspcmd import "github.com/sourcegraph/go-lsp" var htmlSnippets = []lsp.CompletionItem{ + { + Label: "", + InsertText: `${1}> + ${0} +`, + Kind: lsp.CompletionItemKind(lsp.CIKSnippet), + InsertTextFormat: lsp.ITFSnippet, + }, { Label: "a", InsertText: `a href="${1:}">{%= ${2:""} %}`,