,
__tostring = ,
apply = ,
frecency_id = ,
id = ,
initialize = ,
isInstanceOf = ,
parse = ,
parse_filters = ,
vim_cmd =
}
}
[Thu Mar 21 23:33:18 2024][legendary.nvim] Config.sort.frecency is enabled, but sqlite is not available or database could not be opened, frecency is automatically disabled.
[Thu Mar 21 23:33:18 2024][legendary.nvim] Preparing to execute selected item
[Thu Mar 21 23:33:17 2024][legendary.nvim] Took 0.039321 ms to filter items in context.
[Thu Mar 21 23:33:17 2024][legendary.nvim] Config.sort.frecency is enabled, but sqlite is not available or database could not be opened, frecency is automatically disabled.
[Thu Mar 21 23:33:17 2024][legendary.nvim] Relaunching select UI for an item group
[Thu Mar 21 23:33:15 2024][legendary.nvim] setup() parsed and applied all configuration.
```
Looks like mini.pick is doing something with the selected result that's causing my type checking to fail, like maybe deep-copying the item or something. I've figured out a fix for this and I'll put up a PR shortly.
Similar Issues
Neovim Version
NVIM v0.10.0-dev-build-20231109-1232-g16a416cb3 Build type: Release LuaJIT 2.1.1710088188 Run "nvim -V1 -v" for more info
Steps to Reproduce
nvim -u init.lua
<space><space>
to select first item.:LegendaryLog
shows :Expected Behavior
It would be great that it works with mini.pick
Actual Behavior
Not works in some picker ui.
Minimal Configuration to Reproduce
Output from :LegendaryLog
``` [Thu Mar 21 23:33:18 2024][legendary.nvim] Unsupported item type selected from finder UI: { builtin = false, class = { __declaredMethods = { __tostring =:LegendaryLog
output (click to expand)Additional Details and/or Screenshots
No response
Looks like
mini.pick
is doing something with the selected result that's causing my type checking to fail, like maybe deep-copying the item or something. I've figured out a fix for this and I'll put up a PR shortly.