-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Telescope pickers take options in most cases, you can access the documentation of the most used one (find_files) by typing :h telescope.builtin.find_files()
docs on github:
here is an example of how to do it:
as you can see the docs don't say that you can pass file_ignore_patterns to pickers themselves, but it is allowed:
https://github.com/nvim-telescope/telescope.nvim/blob/175178e3889c13a840f036d464aee2d145157b9e/lua/telescope/pickers.lua#L301
as a fun fact there is a way to open either find_files or git_files depending on if you are in a git project, I even made in my config Kappa
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels