Skip to content

Commit

Permalink
fix(typescript-plugin): formatting settings not working. for ts compl…
Browse files Browse the repository at this point in the history
…etion
  • Loading branch information
johnsoncodehk committed Mar 31, 2024
1 parent 3a0d115 commit 21c1cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/typescript-plugin/lib/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export function decorateLanguageServiceForVue(
getEncodedSemanticClassifications,
} = languageService;

languageService.getCompletionsAtPosition = (fileName, position, options) => {
const result = getCompletionsAtPosition(fileName, position, options);
languageService.getCompletionsAtPosition = (fileName, position, options, formattingSettings) => {
const result = getCompletionsAtPosition(fileName, position, options, formattingSettings);
if (result) {
// filter __VLS_
result.entries = result.entries.filter(
Expand Down

0 comments on commit 21c1cbd

Please sign in to comment.