Skip to content

Commit

Permalink
Remove insertText field
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Jul 21, 2024
1 parent 460a620 commit 31d1e47
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/server/completion.odin
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,9 @@ completion_items_directives: []CompletionItem
@init _init_completion_items_directives :: proc () {
completion_items_directives = slice.mapper(DIRECTIVE_NAME_LIST, proc (name: string) -> CompletionItem {
return {
detail = strings.concatenate({"#", name}),
label = name,
insertText = name,
kind = .Constant,
detail = strings.concatenate({"#", name}) or_else name,
label = name,
kind = .Constant,
}
})
}
Expand Down

0 comments on commit 31d1e47

Please sign in to comment.