A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg00555.html below:

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Eli Zaretskii Subject: Re: Making `eglot-server-programs' a custom variable? Date: Thu, 10 Nov 2022 08:36:16 +0200
> From: Arash Esbati <arash@gnu.org>
> Date: Wed, 09 Nov 2022 21:25:53 +0100
> 
> 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.

The intent is for this variable to include enough servers to make it
unnecessary to add to the list.  With that in mind, I wouldn't
complicate the manual by making sure this is copy/paste-able.

Is the LSP server you needed to add still missing from the database
currently on master?  If so, please suggest the addition(s).



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4