emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add `eglot-automatic-inlay-hints` customizable variable


From: João Távora
Subject: Re: [PATCH] Add `eglot-automatic-inlay-hints` customizable variable
Date: Fri, 28 Apr 2023 19:01:58 +0100

On Wed, Apr 26, 2023 at 5:34 PM Brennan Vincent <brennan@umanwizard.com> wrote:

> I want inlay hints to be off by default, but be able to be turned on 
> per-buffer
> as desired. Adding inlay hints to eglot-ignored-server-capabilities achieves 
> the
> former, but makes the latter impossible.


Can't you add "(eglot-inlay-hints-mode -1)" to eglot-managed-mode-hook?

Also a defcustom for buffer-local behaviour isn't really very
standard.  But you can use if like that, of course.  In which case, can't
you use the existing eglot-ignored-server-capabilities like that?

João



reply via email to

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