styled-components / vscode-styled-components

Syntax highlighting for styled-components
MIT License
917 stars 118 forks source link

Breaking syntax highlight when using withConfig #378

Open Renan-Olovics opened 2 years ago

Renan-Olovics commented 2 years ago

Expected to syntax highlight like that: image

but breaking when i use .withConfig({ shouldForwardProp: () => false })

image

Build environment (please complete the following information):

Version: 1.71.2 (user setup) Commit: 74b1f979648cc44d385a2286793c226e611f59e7 Date: 2022-09-14T21:03:37.738Z Electron: 19.0.12 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.22000 Sandboxed: No

Additional context Add any other context about the problem here.

jasonwilliams commented 2 years ago

@Renan-Olovics please put code as well as screenshots if you want this looked at, I can't copy and paste a screenshot.