Commit Graph

180 Commits (599bf603887c5ceb40e12a02d4a0cdee5015eec7)

Author SHA1 Message Date
Rafał Chłodnicki 599bf60388
fix crash on not passing "userLanguages" option
Since the server can be used by various clients and there is no
guarantee that the "userLanguages" are provided, handle that
case gracefully and don't crash.
2021-05-30 22:12:16 +02:00
Brad Cornes 988e85cfb3 fix JIT initialisation when mode is set in a preset (fixes #333) 2021-05-20 17:07:46 +01:00
Brad Cornes e2922837b1 fix module resolution when path has a `#` (fixes #331) 2021-05-20 17:04:32 +01:00
Brad Cornes 5cf4b1717d [JIT] add opacity modifier completions 2021-05-18 12:22:18 +01:00
Brad Cornes 1d0af70caa rename prod server file 2021-05-18 10:51:22 +01:00
Brad Cornes 4cee488fb4 fix @​variants completions/diagnostics in JIT mode (fixes #324) 2021-05-17 12:38:52 +01:00
Brad Cornes 533c2a0a91 tweak dynamic registration disposal 2021-05-17 12:20:20 +01:00
Brad Cornes 5cf6cee308 update `setupContext` arguments 2021-05-14 12:54:45 +01:00
Brad Cornes 482b5bc7af fix @​apply in plugins in jit mode 2021-05-10 13:41:48 +01:00
Brad Cornes 7cbfd2a166 avoid re-loading modules when not necessary 2021-05-09 19:42:03 +01:00
Brad Cornes 734fb4da1b prettier 2021-05-09 19:41:49 +01:00
Brad Cornes f3f1f73410 fix error when using a "withOptions" plugin 2021-05-09 19:34:25 +01:00
Brad Cornes 148e570839 fix feature flags import 2021-05-07 16:35:12 +01:00
Brad Cornes 4994b0aed1 add support back in for config files named tailwind.js 2021-05-06 18:20:25 +01:00
Brad Cornes 2f2d66124a resolve jit modules together 2021-05-06 18:01:54 +01:00
Brad Cornes d7d0406794 always disregard user-defined mode 2021-05-06 18:00:33 +01:00
Brad Cornes 2b8a88b267 load jit modules with try/catch instead of by version number 2021-05-06 17:45:41 +01:00
Brad Cornes 6bef5de588 remove log 2021-05-06 17:43:00 +01:00
Brad Cornes 385a2ba180 reinstate console.log overrides 2021-05-06 15:18:25 +01:00
Brad Cornes e08ac09959 fix re-init short-circuit
now it takes config dependencies into account
2021-05-05 17:56:45 +01:00
Brad Cornes 137a6c1b61 bust user plugin cache?
fixes classes not updating when plugin is changed
2021-05-05 16:25:36 +01:00
Brad Cornes fb2e9d9e88 add matchUtilities mock 2021-05-05 16:22:25 +01:00
Brad Cornes c1467b75f3 register disposables 2021-05-04 16:27:05 +01:00
Brad Cornes da69936f11 only create output channel when needed 2021-05-04 15:05:52 +01:00
Brad Cornes c6c2abf15e don't show init errors 2021-05-04 14:49:13 +01:00
Brad Cornes 3e3cfd418f keep editor state intact 2021-05-04 14:32:19 +01:00
Brad Cornes 86309dd668 fix error for tailwindcss < 1.7.0 2021-05-04 13:35:56 +01:00
Brad Cornes 1ab4be4a60 never reveal output channel 2021-05-04 13:28:08 +01:00
Brad Cornes 89aacecb64 add type 2021-05-04 13:26:55 +01:00
Brad Cornes 1a64b562a4 fix multi-root 2021-05-04 13:25:49 +01:00
Brad Cornes a5a0494003 clear color decorators when restarting language client 2021-05-04 12:57:10 +01:00
Brad Cornes c4a2c254d8 fix user-defined language support 2021-05-04 12:56:09 +01:00
Brad Cornes a72226c141 update settings schema 2021-05-04 12:40:50 +01:00
Brad Cornes 6aabc3d9a5 short-circuit re-initialisation 2021-05-04 11:55:32 +01:00
Brad Cornes f729d57073 remove unnecessary async keyword 2021-05-04 11:23:46 +01:00
Brad Cornes ce761ba6bc boot language clients lazily 2021-05-04 10:59:34 +01:00
Brad Cornes 99297add4e add jit support, refactor for general reliability 2021-05-03 18:00:04 +01:00
Brad Cornes ccf7cd57a7 separate out tailwindcss-language-service package 2020-10-08 16:20:54 +01:00
Brad Cornes b3fef941b6 Suppress glob errors (#174) 2020-08-27 12:16:42 +01:00
Brad Cornes 0489435a2d Remove unused import 2020-08-25 17:10:35 +01:00
Brad Cornes a3d628af93 On tailwind error prevent crash and show message (#156) 2020-08-25 16:59:13 +01:00
Brad Cornes 906d3cfb4e Fix color parsing when alpha is 0 (#177) 2020-08-25 15:21:12 +01:00
Brad Cornes 9cc7bee2a4 Merge branch 'color-decorators' 2020-08-21 15:48:04 +01:00
Brad Cornes 2aa39c84d9 Skip @apply validation if applyComplexClasses flag is enabled 2020-08-21 15:30:29 +01:00
Brad Cornes d95533428f Update color decorator debounce 2020-08-21 13:44:24 +01:00
Brad Cornes 8b03e8b984 Update color extraction 2020-08-21 13:35:23 +01:00
Brad Cornes 5b7f050df0 Remove unused code 2020-08-21 11:08:32 +01:00
Brad Cornes d63a97ab15 Fix color decorators not updating when config changes or errors 2020-08-17 14:20:31 +01:00
Brad Cornes e3c3ead8ea Settings tweak 2020-08-14 16:27:38 +01:00
Brad Cornes 85ba6a42cb Update settings 2020-08-14 16:21:49 +01:00