fix(fzf): disable mini.indentscope in fzf-lua buffer (#3592)

## What is this PR for?

If `fzf-lua` and `mini.indentscope` are enabled together, the indent
line created by `indentscope` makes the fzf window hard and confusing to
work with

<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

PS: also sorted the file list.

## Does this PR fix an existing issue?

I don't think there's an existing issue for this.

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
This commit is contained in:
Farzad Majidfayyaz 2024-06-11 15:06:46 -04:00 committed by GitHub
parent 1c740ce3fd
commit 0ba67c87e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,17 +14,18 @@ return {
init = function() init = function()
vim.api.nvim_create_autocmd("FileType", { vim.api.nvim_create_autocmd("FileType", {
pattern = { pattern = {
"help",
"alpha", "alpha",
"dashboard", "dashboard",
"neo-tree", "fzf",
"Trouble", "help",
"trouble",
"lazy", "lazy",
"lazyterm",
"mason", "mason",
"neo-tree",
"notify", "notify",
"toggleterm", "toggleterm",
"lazyterm", "Trouble",
"trouble",
}, },
callback = function() callback = function()
vim.b.miniindentscope_disable = true vim.b.miniindentscope_disable = true