nvim-telescope / telescope-fzf-native.nvim

FZF sorter for telescope written in c
1.4k stars 46 forks source link

Git ignore file should be respected #117

Closed dylan-chong closed 10 months ago

dylan-chong commented 10 months ago

In the vim help page of telescope you see this:

builtin.find_files({opts})                    *telescope.builtin.find_files()*
    Search for files (respecting .gitignore)

yet, using this extension, git ignore files are not respected. Hidden files that are committed to git are also not shown

My configuration:

dylan-chong commented 10 months ago

i must be mistaken, the git ignore seems to be working to show hidden files just include

vim.keymap.set('n', '<leader>f', function() builtin.find_files({ hidden = true }) end, {})