tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-language-service/src/util/jit.ts b/packages/tailwindcss-language-service/src/util/jit.ts
index 7aac917c16fabb375755ffed88d015f50f21d7f2..ea863d230ddfee92110f42adbaff1a33c2f7711a 100644
--- a/packages/tailwindcss-language-service/src/util/jit.ts
+++ b/packages/tailwindcss-language-service/src/util/jit.ts
@@ -47,7 +47,7 @@ }
return clone
.toString()
- .replace(/([^}{;])$/gm, '$1;')
+ .replace(/([^;{}\s])\n}/g, '$1;\n}')
.replace(/^(?: )+/gm, (indent: string) => ' '.repeat((indent.length / 4) * tabSize))
}