Emacs - Add ts-lit-plugin to eglot config
To configure lsp (eglot) to use the ts-lit-plugin in Emacs, set the eglot server to be typescript-language-server and configure the plugin.
(add-to-list 'eglot-server-programs '((js-mode js-ts-mode tsx-ts-mode typescript-ts-mode typescript-mode) .
("typescript-language-server" "--stdio" :initializationOptions
(:plugins [(:name "ts-lit-plugin" :location "[/path/to/ts-lit-plugin]")]))))
You have to prior install the plugin globally:
npm i -g ts-lit-plugin