emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making `eglot-server-programs' a custom variable?


From: Arash Esbati
Subject: Making `eglot-server-programs' a custom variable?
Date: Wed, 09 Nov 2022 21:25:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Hi all,

I tried eglot only once and I had to add a lsp-server to
`eglot-server-programs'.  From this experience, is there a plan to make
this a custom variable?  If not, I suggest to change the example in
eglot manual from

  (add-to-list 'eglot-server-programs
               '(foo-mode . ("fools" "--stdio")))

to

  (with-eval-after-load 'eglot
    (add-to-list 'eglot-server-programs
                 '(foo-mode . ("fools" "--stdio"))))

for those who will copy&paste this into their init files and then wonder
why it throws an error.

Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]