2

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?

2

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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