Skip to content

Commit

Permalink
schema: Implement EmptyCompletionData for Reference
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Jan 17, 2023
1 parent d85c2db commit 1f7d84f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions schema/constraint_reference.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,11 @@ func (ref Reference) Copy() Constraint {
}

func (ref Reference) EmptyCompletionData(nextPlaceholder int) CompletionData {
// TODO
return CompletionData{}
return CompletionData{
NewText: "",
Snippet: "",
TriggerSuggest: true,
}
}

func (ref Reference) Validate() error {
Expand Down

0 comments on commit 1f7d84f

Please sign in to comment.