ojroques / nvim-lspfuzzy

A Neovim plugin to make the LSP client use FZF
BSD 2-Clause "Simplified" License
316 stars 11 forks source link

let functional actions be the last callbacks to be called with selected items #28

Closed ViRu-ThE-ViRuS closed 2 years ago

ViRu-ThE-ViRuS commented 2 years ago

okay I am noticing that if we use a action which is a lua function, lspfuzzy will automatically set the qflist and open qflist, which might defeat the purpose fo the action argument. We can let action take complete control over what happens with the selections, which makes it more like the last callback.

I suggest letting the call return after calling functional action.

builds on #27

ojroques commented 2 years ago

Done, let me know if it doesn't work as expected.

ViRu-ThE-ViRuS commented 2 years ago

perfect! Thanks!