Skip to content

Commit

Permalink
Redo CompletionItem.preselect logic in #1808
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed Jul 31, 2020
1 parent bf2a636 commit c2bc8b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/modes/script/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export async function getJavascriptMode(
return {
uri: doc.uri,
position,
preselect: entry.isRecommended ? true : undefined,
label,
detail,
filterText: getFilterText(entry.insertText),
Expand Down

0 comments on commit c2bc8b9

Please sign in to comment.