Skip to content
Discussion options

You must be logged in to vote

Ok fair enough. I kind of figured it out in the meantime. Formatter is not suited for what I originally asked because it only has access to filename and doesn't have access to item.text so whatever I append to the end becomes a prefix for :lnum:col: text.

So I used the inversion and chose a prefix approach which worked well.
So I had to go with prefix approach to make it work with formatter.

So for those who are stuck with the same request here is my take: https://github.com/kapral18/dotfiles/blob/main/home/dot_config/exact_nvim/exact_lua/exact_plugins/fzf-filters-lsp.lua#L15-L65

So basically from what I understand:

  • engage is for decorating opts before they are passed into fzf
  • _to is fo…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@kapral18
Comment options

@ibhagwan
Comment options

@kapral18
Comment options

Answer selected by kapral18
@ibhagwan
Comment options

@kapral18
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants