3

As the title suggests I have been struggling for a while now to get eglot to play nice with svelte, specifically I want to use svelte with typescript. Svelte provides a language server, but I can't get it to start. Any help would be appreciated.

1 Answer 1

1

Here is the answer if someone happens upon the question.

(use-package eglot
  :config
  (add-to-list 'eglot-server-programs
           '(svelte-mode . ("svelteserver" "--stdio"))))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.