Closed jason0x43 closed 2 years ago
This is a simple change to make here, but is there a specific reason why lspinstall uses typescript
instead of tsserver
? If not, I feel like it makes sense to change the client name on their end to be consistent with lspconfig.
lspinstall uses the language name for lsp configs rather than the server name. I believe it's primarily for ease of use (LspInstall typescript
or LspInstall lua
are more intuitive than LspInstall tsserver
or LspInstall sumneko
) and consistency with other editors such as VS Code.
I see, that's reasonable then. Thanks for the fix!
nvim-lspinstall uses a different naming scheme than lspconfig -- the Typescript client is 'typescript' rather than 'tsserver'. This PR updates the rename-file functionality, which seems to be the only place that explicitly looks for the server, to consider 'typescript' as well as 'tsserver'.