From 0ba67c87e9054e09d562164de7ed1876587a0539 Mon Sep 17 00:00:00 2001 From: Farzad Majidfayyaz Date: Tue, 11 Jun 2024 15:06:46 -0400 Subject: [PATCH] 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 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. --- lua/lazyvim/plugins/extras/ui/mini-indentscope.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lua/lazyvim/plugins/extras/ui/mini-indentscope.lua b/lua/lazyvim/plugins/extras/ui/mini-indentscope.lua index a7632145..1b8beeb6 100644 --- a/lua/lazyvim/plugins/extras/ui/mini-indentscope.lua +++ b/lua/lazyvim/plugins/extras/ui/mini-indentscope.lua @@ -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