Skip to content

Commit

Permalink
fix: no duplicate decorators if suggestAllFromOpenDocument is true (#235
Browse files Browse the repository at this point in the history
)
  • Loading branch information
wkillerud authored Sep 19, 2024
1 parent c943a35 commit 1fe03d3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/language-services/src/features/find-colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ export class FindColors extends LanguageFeature {
}),
);

if (
document.languageId === "sass" ||
this.configuration.completionSettings?.suggestAllFromOpenDocument
) {
if (document.languageId === "sass") {
const upstream = this.getUpstreamLanguageServer().findDocumentColors(
document,
stylesheet,
Expand Down

0 comments on commit 1fe03d3

Please sign in to comment.