-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for hidden files #90
Comments
I'm not entirely sure why this is yet, but I might go and do some research about it and try to make it so it's not necessary. But the plugin configs are invoked lazily, which ends up happening after vim.schedule(function()
vim.env.FZF_DEFAULT_COMMAND = 'fd --hidden --exclude={.git,.idea,.vscode,.sass-cache,node_modules,build} --type f'
require('lir').setup {
show_hidden_files = true,
}
end) I'll investigate a bit later and depending on what I find I'll make it so By the way, for LIR you can hit |
Thanks for the quick reply. I'd appreciate a way of making The suggestion of
Nice. I didn't see that before. Now I see the config for this setting. So, given that, I can use your |
FYI I made the execute decision to show hidden files by default :P |
Great, thanks. I'll close this now. |
I often find myself working with hidden files and directories, and I would like to be able to see them in
lir
and search in them viafzf
.To do this is fairly simple:
LIR config:
FZF config:
However, when i set these in
after.lua
neither setting is respected. I have to manually edit thelir.lua
andfzf.lua
files to get these settings to stick.First question: is there a way I can configure this behavior today? Am I missing something?
Second question: assuming this is not configurable, would you be open to adding support for it? I think the default behavior should still be to ignore hidden files but I'd like a way to enable these settings. I'd expect some sort of global setting in
before.lua
calledinclude_hidden_files
or similar.Thoughts?
The text was updated successfully, but these errors were encountered: