Styled-components syntax highlighting and suggestions

Hi all.
I’m currently transitioning from CoC to LSP and Treesitter for highlighting.
I’m mostly happy with what I have so for but I have not yet found a way to correctly highlight styled-components or get auto completion/suggestions for styled components.
I was using styled-components/vim-styled-components for syntax highlighting and like I say CoC for the suggestions.
Is there a LSP/Treesitter alternative as yet?

3 Likes

I ran into this as well. There is an issue on Treesitter about styled-components Context parsing for styled components in jsx/tsx · Issue #1111 · nvim-treesitter/nvim-treesitter · GitHub

I don’t have a great answer until that is addressed.

Thanks for the reply, yeah I found that issue too.