reddit / emacs

How can I make eglot more minimal?

Agreeable-Solid7212 · 2022-04-16 13:42
I've installed eglot aiming for a very lightweight and minimal lsp experience for Rust and C (basically just some autompletions and some errors shown). My configuration looks something like this: ```lisp (use-package eglot) (add-to-list 'eglot-server-programs '((c++-mode c-mode) "clangd")) (add-hook 'rust-mode-hook 'eglot-ensure) (add-hook 'c-mode-hook 'eglot-ensure) (use-package company) (global-company-mode) (use-package yasnippet) (yas-global-mode 1) ``` There're a few problems with this, though. On Rust mode, everytime I hover over a keyword, it opens like two buffers: One floating, and one on the bottom. All I want are some completions and some errors. How can I disable all the frills of eglot and rust analyzer?
super-linux-nerd · 2022-04-16 14:21
`C-h v eglot-ignored-server-capabilities` I have the document highlighting disabled and eglot is perfect after that.
[deleted] · 2022-04-17 05:59
[deleted]