For speed, I wish to disable everything that a language server (in this case clangd) provides *except* for code completion. I use eglot. How would I do this?
PS: No I don’t want to use lsp-bridge because I want my own custom completion style.
For speed, I wish to disable everything that a language server (in this case clangd) provides *except* for code completion. I use eglot. How would I do this?
PS: No I don’t want to use lsp-bridge because I want my own custom completion style.
I’m not sure what you want to disable exactly but you should look at
eglot-ignored-server-capabilities
:For example to disable inlay hints:
(setq eglot-ignored-server-capabilities '(:inlayHintProvider))
.Here is the complete list of server capabilities: