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

View File

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