neoclide / coc-tsserver

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

How to add tsserver plugins with new filetype #287

Closed DarwinSenior closed 3 years ago

DarwinSenior commented 3 years ago

I realised that now there is a new plugin for svelte within typescript. https://github.com/sveltejs/language-tools/tree/master/packages/typescript-plugin

Do you know how to add this plugin to enable tsserver on svelte files?

chemzqm commented 3 years ago

You can't, that plugin of tsserver is supposed to make tsserver work with svelte code inside typescript or javscript file. Use the language server for svelte instead.