Global fzf-lua Ruby file ignores (#13)

pull/129/head
Sean Herman 2025-03-06 19:38:47 -05:00 committed by GitHub
parent 418fa6dc99
commit e40c19f2fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View File

@ -40,6 +40,7 @@
"tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" },
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
"ts-comments.nvim": { "branch": "main", "commit": "1bd9d0ba1d8b336c3db50692ffd0955fe1bb9f0c" },
"venv-selector.nvim": { "branch": "regexp", "commit": "e82594274bf7b54387f9a2abe65f74909ac66e97" },
"vim-bundler": { "branch": "master", "commit": "c261509e78fc8dc55ad1fcf3cd7cdde49f35435c" },
"vim-dispatch": { "branch": "master", "commit": "a2ff28abdb2d89725192db5b8562977d392a4d3f" },
"vim-rails": { "branch": "master", "commit": "b0a5c76f86ea214ade36ab0b811e730c3f0add67" },

View File

@ -38,4 +38,14 @@ return {
},
},
},
{
"ibhagwan/fzf-lua",
opts = function(_, opts)
opts.file_ignore_patterns = opts.file_ignore_patterns or {}
-- Always ignore /.gem and /.bundle regardless of whether they're .gitignored
vim.list_extend(opts.file_ignore_patterns, { "^%.gem", "^%.bundle" })
return opts
end,
},
}