Change handler for +lookup/definition and +lookup/references

What happened?

Hi.

In the default config, when I trigger +lookup/definition (using C-c c d in my case) or +lookup/references (C-c c D) I get the lsp-ui peek interface.

I much prefer using lsp-find-references and lsp-find-definition, that use consult.

I know I can just add/change the keybinding to these functions instead of +lookup/* but I was wondering if there is a “cleaner” way to do so? Somehow tell lookup module not to use lsp-ui, even if present?

Hope this makes sense.

Thanks in advance.

System information


Loading data dump...

This topic was automatically closed after 90 days. New replies are no longer allowed.