emacs-devel
[Top][All Lists]
Advanced

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

Restore emacs-29.1 eglot behaviour on master


From: Pedro A. Aranda
Subject: Restore emacs-29.1 eglot behaviour on master
Date: Sun, 18 Feb 2024 07:36:46 +0100
User-agent: Mozilla Thunderbird

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,

/Pedro A. Aranda




reply via email to

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