When lsp-mode is enabled all headers become clickable (draw as buttons), underlining them making them slightly harder to read.

I don't need this since I can have a key bound to go to the header.

Is there a way not to highlight headers in C/C++ with lsp-mode?

1 Answer 1


Set lsp-enable-links to nil. This will disable lsp-mode's link support.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.