-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tailwind LS gives invalid suggestions when started after first -
#12541
Comments
Two years ago helix and neovim had some issues with tailwindcss lsp, I forked their lsp and fixed that issue, as well as sorting after you type |
are you planning on submitting your changes upstream? |
No, because I don't think that this time it's bug on tailwindcss lsp. Same completion items are returned when I use vscode(about 12k items), and vscode shows only important ones microsoft/vscode#79516. |
Summary
tailwind LS gives invalid suggestions when the completion starts after first
-
Reproduction Steps
https://asciinema.org/a/8CCtaplo2JFn3z2ZfoJeZgluL
I have created a repro repo s.t. you don't have to.
https://github.com/aster-void/helix-repro/
I tried this:
tailwindcss-language-server
tailwind.config.js
with some text)3.1. if the completeion starts too early, write
text-red
then delete thered
part4. continue writing
red
I expected this to happen:
it should suggest
text-red-[number]
Instead, this happened:
it suggested
divide-red-[number]
, which doesn't match what I haveHelix log
~/.cache/helix/helix.log
Platform
Linux / NixOS
Terminal Emulator
kitty 0.38.1 created by Kovid Goyal
Installation Method
flake
Helix Version
helix 25.01 (ca19496)
The text was updated successfully, but these errors were encountered: