manateelazycat / lsp-bridge

A blazingly fast LSP client for Emacs
GNU General Public License v3.0
1.46k stars 214 forks source link

Support new features for finding refereneces #821

Closed norris-young closed 10 months ago

norris-young commented 10 months ago
  1. Delete other windows when finding references, default t.
  2. Open file in the original window if we do not delete other windows, default nil.
norris-young commented 10 months ago

I don't want to delete other windows when finding references and still need files being opened in the original buffer. So I add 2 customizable variables to make it available while keeping the default behavior unchanged.

norris-young commented 10 months ago

Besides, I changed the argument name of lsp-bridge-ref-quit from insert to restore, which should be more suitable.

manateelazycat commented 10 months ago

Thanks for patch.