inlay-hints.nvim icon indicating copy to clipboard operation
inlay-hints.nvim copied to clipboard

feat: configure tsserver adapter if needed

Open moliva opened this issue 1 year ago • 0 comments

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.

moliva avatar Apr 15 '23 19:04 moliva