Closed sukinoverse closed 1 year ago
Oh, I just found this comment https://github.com/sublimelsp/LSP-tailwindcss/issues/34#issuecomment-1173915567
Looks like adding "text.html.elixir": "html"
to LSP Language ID overrides make it works with Elixir too.
I hope we can have better solution for this 😅
In the new version of LSP-tailwindcss and LSP.
You no longer need to override the language ids
and you no longer need to add the "text.html.elixir"
to the selector.
Just give PackageControl 1 to 3h to pick up the new LSP 4070-1.20.0 release.
Also thanks for this issue! It is pretty good report :)
Reproduce
Create webapp project
mix phx.new
Noted: Phoenix approach is to use standalone tailwind because Phoenix is escape away from node / webpack world, so no node_module inside.
Install LSP on Sublime
LSP-tailwindcss
on Sublimetext.html.elixir
toLSP-tailwindcss selector config
Problem
LSP-tailwindcss
is started and active for elixir HTML template file. But looks like it's not working, no suggestion, auto-complete and warning given for wrong tailwind class.