Skip to content

Commit 05827ff

Browse files
committed
Refactor
1 parent c12cc69 commit 05827ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/tailwindcss-language-service/src/hoverProvider.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ async function provideCssHelperHover(
6969
value = addPixelEquivalentsToValue(value, settings.tailwindCSS.rootFontSize)
7070
}
7171

72+
let lines = ['```plaintext', value, '```']
73+
7274
return {
73-
contents: { kind: 'markdown', value: ['```plaintext', value, '```'].join('\n') },
75+
contents: { kind: 'markdown', value: lines.join('\n') },
7476
range: helperFn.ranges.path,
7577
}
7678
}

0 commit comments

Comments
 (0)