diff --git a/cursorcontext.go b/cursorcontext.go
index <HASH>..<HASH> 100644
--- a/cursorcontext.go
+++ b/cursorcontext.go
@@ -134,6 +134,8 @@ func (ti *token_iterator) extract_struct_type() string {
 		if !ti.go_back() {
 			return ""
 		}
+	} else if ti.token().tok == token.COMMA {
+		return ti.extract_struct_type()
 	}
 	if ti.token().tok != token.IDENT {
 		return ""
Better cursor context deduction for array of structs literals.

<URL>