Skip to content
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

In newly-visited projects, not all files are findable #9

Closed
NullVoxPopuli opened this issue Jan 17, 2023 · 2 comments
Closed

In newly-visited projects, not all files are findable #9

NullVoxPopuli opened this issue Jan 17, 2023 · 2 comments

Comments

@NullVoxPopuli
Copy link

I noticed this the most with ci.yml (GitHub Action file), as I hope around between projects.

My smart-open command is:

nnoremap <C-t> :lua require('telescope').extensions.smart_open.smart_open({cwd_only = true})<CR>

maybe there is some default filter I need to configure?

@danielfalk
Copy link
Owner

It wasn't including hidden files by default when scanning. I've pushed a fix. Note that this might create annoying side-effects if you run neovim with your home directory as the current working directory, since that directory tends to have a lot of hidden files cluttering it.

I'm not sure what the right answer for that is, but one could work around that by creating a ~/.ff-ignore and adding patterns in it.

@ilan-schemoul
Copy link

.gitignore makes everything extremely slow and he's breaking expectations as Telescope normally ignores everything in .gitignore. It doesn't make a UX (I've used this package for months without knowing it doesn't respect .gitignore).
I made a PR to streamline this plugin behaviour with the rest of Telescope #80
.gitignore should be respect by default but it becomes configurable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants