jose-elias-alvarez / typescript.nvim

A Lua plugin, written in TypeScript, to write TypeScript (Lua optional).
The Unlicense
496 stars 33 forks source link

Missing completion in JSX props #61

Closed sQVe closed 1 year ago

sQVe commented 1 year ago

Hey 👋,

I noted, today, an issue with the completions provided for properties on JSX. It's it not being listed correctly and I'm unsure how to narrow down the issue.

See this issue for more context: https://github.com/typescript-language-server/typescript-language-server/issues/679

I would love any help I could get with this.

jose-elias-alvarez commented 1 year ago

Is this related to #34? Are you able to replicate it with a vanilla nvim-lspconfig setup? I can't tell from the linked issue, but if so, I'm not sure if there's anything we can do here.

sQVe commented 1 year ago

@jose-elias-alvarez Of course...

I, for some reason, envisioned typescript.nvim as some kind of set-it-and-forget-it and didn't pass capabilities. The commit above solves all my issues.

As always, I'm very grateful for all your work and your quick responses Jose. You're a 💎.

Closing.