merrickluo / lsp-tailwindcss

the lsp-mode client for tailwindcss
GNU General Public License v3.0
180 stars 21 forks source link

Why is lsp-tailwindcss--company-dash-hack neccasary? What would a non-hacky sollution entail? #63

Open noah-evans opened 7 months ago

noah-evans commented 7 months ago

It works but it makes company more irritating to use since the completion window jumps when you type a dash.

What is preventing us from typing dashes in completions without making them trigger characters?

merrickluo commented 3 months ago

yeah, it's a workaround, it seems lsp-mode treats it as a word separator, if it's not set as a trigger character, it won't send the autoComplete request to the server hence we can't get auto-completion when input -.

let me try to see if this has improved since then.