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.

NickD
  • 27,023
  • 3
  • 23
  • 42
joe
  • 41
  • 2

1 Answers1

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"))))
g-gundam
  • 1,096
  • 1
  • 3
  • 13
joe
  • 41
  • 2