The filter function signature is also not very usable since it has return a similar object { resul = {} } otherwise the finder breaks.
E.g.
{
result = { {
range = {
["end"] = {
character = 14,
line = 24
},
start = {
character = 10,
line = 24
}
},
uri = "file:///a.go"
}, {
range = {
["end"] = {
character = 14,
line = 25
},
start = {
character = 10,
line = 25
}
},
uri = "file:///a.go"
} }
}
Describe the solution you'd like
Fix the original documented filter config to filter each result
Is your feature request related to a problem? Please describe. The
filter
documentation currently is incorrect https://nvimdev.github.io/lspsaga/finder/#filter-search-result. The function signature mentioned in the doc does not match what the code does.The filter function signature is also not very usable since it has return a similar object
{ resul = {} }
otherwise the finder breaks. E.g.Describe the solution you'd like Fix the original documented filter config to filter each result