Skip to content

Commit 03e16a4

Browse files
committed
detect indent from CSS text only
1 parent 4686f1b commit 03e16a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lsp/providers/codeActions/provideInvalidApplyCodeActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export async function provideInvalidApplyCodeActions(
104104
}
105105

106106
let outputIndent: string
107-
let documentIndent = detectIndent(documentText)
107+
let documentIndent = detectIndent(cssText)
108108

109109
changes.push({
110110
range: ruleRange,

0 commit comments

Comments
 (0)