[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Restore emacs-29.1 eglot behaviour on master
From: |
Eli Zaretskii |
Subject: |
Re: Restore emacs-29.1 eglot behaviour on master |
Date: |
Thu, 22 Feb 2024 15:39:40 +0200 |
> Date: Sun, 18 Feb 2024 07:36:46 +0100
> From: "Pedro A. Aranda" <paaguti@gmail.com>
>
> Hi
>
> I've been having massive problems with eglot on master. I understand
> evolution, being on master, etc. but this is taking too much time now
> <sigh> and some LSP implementers understand but others don't even react...
>
> I'm mainly working with Python and LaTeX and this is my eglot config:
>
> (setq-default eglot-workspace-configuration
> '(:pylsp
> (:configurationSources ["pycodestyle"]
> :plugins (:autopep8 (:enabled t)
> :jedi_completion (:include_params t
> :eager t
> :fuzzy :json-false)
> :flake8 (:enabled :json-false)
> :pylint (:enabled :json-false)
> :pycodestyle (:enabled :json-false)
> :pyflakes (:enabled t)
> :mccabe (:enabled t ;; boolean: true
> (default) or false
> :threshold 45)))
> :texlab
> (:completion (:matcher "prefix"))))
>
> What I have learnt:
>
> On emacs-29, the section relating to the LSP that is used when on a
> specific buffer (and only that) is sent tp the LSP. And everything woks
> as expected
>
> On emacs-30. the full configuration is sent. That confuses the LSP
> servers and they start working with the default configuration, which is
> sometimes of little help.
>
> Could the original behaviour be (re)implemented in master, please
>
> Thanks a ton in advance,
João, any comments or suggestions?
Thanks.