emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.04k stars 141 forks source link

highlighting symbol at point with eldoc-mode disabled #168

Open CSRaghunandan opened 6 years ago

CSRaghunandan commented 6 years ago

I don't want to have eldoc-mode enabled for lsp-rust and lsp-python and I'll let lsp-ui-doc-mode and lsp-sideline show all the relevant information. But I want to get the same highlighting of the symbol at point functionality that I get when I enable eldoc-mode (I am aware of lsp-highlight-symbol and it doesn't solve my issue)

yyoncho commented 6 years ago

But I want to get the same highlighting of the symbol at point functionality that I get when I enable eldoc-mode

Can you be a bit more specific? You may disable lsp highlight functionality by setting lsp-highlight-symbol-at-point to nil, but I am not sure whether you are asking that.

CSRaghunandan commented 6 years ago

Sorry for being unclear. I want lsp-ui to highlight the symbol at point automatically even when eldoc-mode is disabled.

Right now, if eldoc-mode is disabled, even if I've set lsp-highlight-symbol-at-point, lsp-ui won't highlight the symbol at point.