Skip to content

Commit

Permalink
Removed replacement from jsx completions
Browse files Browse the repository at this point in the history
  • Loading branch information
armanio123 committed Nov 11, 2021
1 parent b12d5c5 commit 1c07983
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/services/completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,6 @@ namespace ts.Completions {
insertText = `${escapeSnippetText(name)}={$1}`;
isSnippet = true;
}

if (isSnippet) {
replacementSpan = createTextSpanFromNode(location, sourceFile);
}
}

if (insertText !== undefined && !preferences.includeCompletionsWithInsertText) {
Expand Down

0 comments on commit 1c07983

Please sign in to comment.