Skip to content

Commit

Permalink
fix: Correct version completion kind (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
CsCherrYY committed Sep 23, 2021
1 parent ed2bb4f commit 5ac2fdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private List<CompletionItem> getDependenciesFromRestAPI(String url, DependencyCo
String version = ((JsonObject) element).get("v").getAsJsonPrimitive().getAsString();
completionItem.setLabel(version);
completionItem.setFilterText(label + ":" + version);
completionItem.setKind(CompletionItemKind.Text);
completionItem.setKind(CompletionItemKind.Constant);
completionItem.setDetail("version");
}
// Currently we have no more than 50 results, so the padding values should have at least 3 digits.
Expand Down

0 comments on commit 5ac2fdf

Please sign in to comment.