emacs-devel
[Top][All Lists]
Advanced

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

Re: Eglot to core [Was: rmsbolt.el [Was: Colorful line numbers]]


From: Felician Nemeth
Subject: Re: Eglot to core [Was: rmsbolt.el [Was: Colorful line numbers]]
Date: Mon, 25 Jul 2022 13:50:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

João Távora <joaotavora@gmail.com> writes:

> One of the points of bringing Eglot into core is that it can be used as
> a library by other major modes, who are free to build on top of Eglot's
> API. 

I don't think the current API is good enough for that.  See
https://github.com/joaotavora/eglot/discussions/802#discussioncomment-2171239

More importantly, there are multiple language server implementations for
some languages (python, c) with different quirks or non-standard
extensions to the LSP protocol.  How do you imagine a major-mode would
support these?

Authors of a major-mode even rejected to configure eglot-server-programs
in their mode saying it didn't belong to there.  (Unfortunately, I
cannot find the github discussion for this.)



reply via email to

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