marilari88 / twoslash-queries.nvim

Nvim lua plugin which adds support for twoslash queries into typescript projects
MIT License
153 stars 7 forks source link

Feature request: Support for CoC's `coc-tsserver` #10

Open SirWrexes opened 1 year ago

SirWrexes commented 1 year ago

TypeScript is my main language and I use it daily, and I also do a LOT of type wizardry so this plugin is a godsend. However, I use CoC with the coc-tsserver extension to set up my LSP. As a result, calling require('lspconfig') yields an error, since the module is not present on my installation and therefore not requireable. Would it be possible to attach it to CoC's tsserver plugin? There might even be a way to do this without changing the code of the plugin, but I am not aware of it. :thinking:

SirWrexes commented 1 year ago

Well, turns out I ended up rewriting my config from scratch and I now use LSPConfig/Mason for my language servers with Cmp for completion. I personally don't need this feature anymore, but some might, so I will let maintainer(s) decide if this issue should be closed or not.