Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: configure tsserver adapter if needed #14

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

moliva
Copy link

@moliva moliva commented Apr 15, 2023

Addresses #10 .

Adds a configuration parameter for tsserver given that current implementations of LSP for Typescript started supporting the standard and dropping previous custom formats, see typescript-language-server.

This was helpful in my case as I was not getting the inlays with the adapter and had this LSP already running in my Neovim setup.

The change still let's a user force adapting the request to the custom format, disable it altogether or automatically check whether the server provides support to adapt the request or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant