Skip to content
Discussion options

You must be logged in to vote

Picker module supports additional syntax on top of fzf for searching <field>:

group > file:lua$ text:nvim_create_augroup
group > file:lua$ 'nvim_create_augroup

In the examples above, there are two fields: file, text (text: is the same as ').


However, it's unclear where these fields are defined—you need to search them in the source code.
I suppose the search fields correspond to the properties assigned to the items.

For example:

picker/source/diagnostics.lua

items[#items + 1] = {
  text = table.concat({ severity or "", tostring(diag.code or ""), file, diag.source or "", diag.message }, " "),
  file = file,
  buf = diag.bufnr,
  is_current = buf == current_buf and 0 or 1,
  is_cwd = file:sub(

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@drowning-cat
Comment options

@ravisumit33
Comment options

@drowning-cat
Comment options

@drowning-cat
Comment options

Answer selected by ravisumit33
@dpetka2001
Comment options

@dpetka2001
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
3 participants