emacs-devel
[Top][All Lists]
Advanced

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

Re: Renaming eglot -- or at least add an alias?


From: Yuan Fu
Subject: Re: Renaming eglot -- or at least add an alias?
Date: Wed, 12 Oct 2022 16:19:18 -0700

> 
> This all seems to get very confusing/complicated quite fast.
> 
> In case it helps, as a user, for most of the languages I work in, here
> is what I would want (assuming eglot/tree-sitter support available for
> each language.
> 
> - Tree-sitter for font lock and indentation. I don't think eglot will be
>  fast enough given json parsing and process comms etc.
> 
> - eglot for linting, xref, completion, doc lookup, code actions etc.
>  Most of the time, I want this on a project rather than a file
>  basis. Also, I want something which is consistent with co-workers who
>  use other editors, but the same language server.
> 
> So for me, I want to be able to specify for xxx-mode, use tree-sitter
> for font locking and indentation and eglot for everything else. Being
> able to easily set that in myh init will be what I am looking for. 

Thanks for you input. I don’t think eglot (and LSP the protocol) handles 
font-lock and indent, and tree-sitter doesn’t do the things you listed for 
eglot. So if you just enable tree-sitter and eglot you should get what you want 
exactly. I don’t know about eglot, but we are working on the toggle for 
tree-sitter right now, you can see the other thread I started on this topic.

Yuan


reply via email to

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