neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.06k stars 68 forks source link

Nullish coalescing operator (??) breaks highlighting syntax #276

Closed Classy-Bear closed 3 years ago

Classy-Bear commented 3 years ago

TO REPRODUCE:

With `??`: ![Screen Shot 2021-03-29 at 12 22 12 PM](https://user-images.githubusercontent.com/37255403/112867920-74d57e80-9089-11eb-8a50-0f825cecf6ad.png)
Without it: ![Screen Shot 2021-03-29 at 12 22 24 PM](https://user-images.githubusercontent.com/37255403/112867926-769f4200-9089-11eb-9177-b61cc1cc1414.png)

This happens because is a new feature in JS? If so, Where can I find a list or documentation of operators/methods that are new in JS?

chemzqm commented 3 years ago

It's issue of your syntax plugin

Classy-Bear commented 3 years ago

Could you please elaborate more on your answer

chemzqm commented 3 years ago

It has nothing to do with coc-tsserver