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

Use local tsserver by default #409

Closed BenoitZugmeyer closed 1 year ago

BenoitZugmeyer commented 1 year ago

Starting from v2.0.0, coc-tsserver will use the global tsserver by default, instead of the local one. It exposes a new configuration option tsserver.useLocalTsdk to restore the previous behavior. Unfortunately, this option only works when using a workspace configuration.

I'd like to keep using the local version and not having to commit a workspace configuration to the project I'm contributing to. Would it be possible to make the tsserver.useLocalTsdk option work from the global configuration?

Thank you for your hard work!