phanium
phanium
Maybe `reload=contents` or `reload={fn=contents,field_index=..}`? `contents` can be `string`/`function`/`table` just like `fzf_exec(contents)` `reload=true` use the same `contents` from `fzf_exec` implicitly (so when `contents` is not stringified as a `FZF_DEFAULT_COMMAND` it will...
Maybe in this way you can get icons for buffer: ```diff @@ -31,7 +31,7 @@ function FzfLuaSmart(opts) local p = vim.api.nvim_buf_get_name(buf_id) local exists, stats = pcall(vim.uv.fs_stat, p) if exists and...
> Idk if we should touch this part, every time I messed with this (tried different strats) some edge case blew up (quite a few issues… including voodoo slowness), if...
Generally I think `feedkeys "i"` in terminal mode is not a good way. Since it's possible that we are really in terminal mode (`startinsert` already happened for some reason). Another...
> This never happens to me even if I continue holding ctrl-g forever and stop randomly. I just found the root cause of the error is a bug of my...
Wrap `defer_fn` can make it work. But would it be better to find another approach? I check some old issues e.g. it cause some laggy on wsl.
Yes, I reproduced. ```lua require('fzf-lua').setup({ winopts = { preview = { layout = 'vertical', vertical = 'up:70%', } }, fzf_opts = { ['--layout'] = 'default' }, }) ``` Looks very...
No, I erase env before start neovim. Can be reproduce by mini.sh (with the config above, maybe ensure the fzf term height is small?): ``` FZF_DEFAULT_OPTS= FZF_DEFAULT_OPTS_FILE= bash scripts/mini.sh ```...