tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Signature
-----BEGIN PGP SIGNATURE-----
wsBcBAABCAAQBQJkS/WcCRBK7hj4Ov3rIwAAyvAIAG/SywTBybshg1ERqbuBSlxO
a3ZcCfLnAlCanq5cMb72GcwE4igg44KoeGs/d9nHUMLArxff7CduuJwpgHx/Yvl/
YBRifQgbYQDknb/xBoubYivgyOAFFp4SwuQb2FzJ/0uQ4JkraeAfLrRK7Ecz2E2a
B/nxROQ5yJ0S/6lLFLm9vs0hMzmfOTpsN5CTZVSUynIAmcU2Bz5UVPObNqllgibg
2UAlYNL1DQbfwKc/E+Rchd7V4sEjAGrRcBqevlOu/Ro0X6mjzFMGo+nwpm10ODK3
a4jaHUR47fjeH9AaNZJXXl2GUsevm9wt9Q7VJKMiBlWzBV+BrmuABIfIRfhsDh8=
=3HfW
-----END PGP SIGNATURE-----
diff --git a/packages/tailwindcss-language-service/src/util/js.ts b/packages/tailwindcss-language-service/src/util/js.ts
index dbc5be4ef15b9d001e7198e3551e5d3f9058d491..a74881b986dec59544b3a87f8750243ac7ed1f7f 100644
--- a/packages/tailwindcss-language-service/src/util/js.ts
+++ b/packages/tailwindcss-language-service/src/util/js.ts
@@ -19,5 +19,5 @@ })
let boundaries = getLanguageBoundaries(state, doc, str)
- return boundaries ? boundaries[boundaries.length - 1].type === 'jsx' : false
+ return boundaries ? ['jsx', 'tsx'].includes(boundaries[boundaries.length - 1].type) : false
}