nvim-telescope / telescope-fzf-writer.nvim

Incorporating some fzf concepts with plenary jobs and telescope
72 stars 7 forks source link

seems like this plugin doesn't respect FZF_DEFAULT_COMMAND #4

Open isvicy opened 3 years ago

isvicy commented 3 years ago

by default, telescope-fzf-writer doesn't show hidden files.

set FZF_DEFAULT_COMMAND works for fzf.vim but not for telescope-fzf-writer.

Is this intensional? and how can i make fzf-writer show hidden files?

elianiva commented 3 years ago

yeah, it seems like it's hardcoded. I don't think it would be that hard to make it respect $FZF_DEFAULT_COMMAND

https://github.com/nvim-telescope/telescope-fzf-writer.nvim/blob/9535863f519be3d5e57fd50916f96594241bfe16/lua/telescope/_extensions/fzf_writer.lua#L131-L132

Conni2461 commented 3 years ago

Plenary job has a clean env. So to make this work we need to do os.getenv and pass in that env to plenary job. Should be not hard. We might need some changes in core i am not sure how finder handles env