When using lsp server, symbol highlighting obscures the highlighting done by region selection. I can toggle this behavior per-buffer with lsp-toggle-symbol-highlight, but cannot permanently disable it for all buffers. Is there a workaround to fix the current lack of a configuration setting?

1 Answer 1


Customize the lsp-enable-symbol-highlighting option:

(setq lsp-enable-symbol-highlighting nil)

or via Easy Customization Interface:

M-x customize-variable <RET> lsp-enable-symbol-highlighting <RET>

Highlight references of the symbol at point.

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.