Nicolas Martyanoff on Nostr: While the LSP protocol is useful for completion or access to symbol definitions, some ...
While the LSP protocol is useful for completion or access to symbol definitions, some of its features are less appealing. In #Emacs, you can instruct Eglot to ignore any feature you dislike.
E.g. (setq eglot-ignored-server-capabilities '(:inlayHintProvider)) to remove annoying hints mixed with the code in c-mode with clangd.
Published at
2024-05-12 12:39:57Event JSON
{
"id": "4752574a4f5c98d92b8d8a093a0380a3b55a1e6bbddac229975c69e2b46c38d1",
"pubkey": "f320bdda416aa99f2ae0949dca56c3bf58a9815c9de7ba950ad1fa568da2b816",
"created_at": 1715517597,
"kind": 1,
"tags": [
[
"t",
"emacs"
],
[
"proxy",
"https://emacs.ch/users/galdor/statuses/112428161282428853",
"activitypub"
]
],
"content": "While the LSP protocol is useful for completion or access to symbol definitions, some of its features are less appealing. In #Emacs, you can instruct Eglot to ignore any feature you dislike.\n\nE.g. (setq eglot-ignored-server-capabilities '(:inlayHintProvider)) to remove annoying hints mixed with the code in c-mode with clangd.",
"sig": "a04f68b9d8ee3710f562dc28f45e76ce9de5ffa7f9754a530d142564412badad4cdd02112e40dfe4258d8784b86b04f895943167b7fdd19cd7fae0ce7bcc6142"
}