From 15f5a229d9b9fcdfd980050e7fe8dff74313d9fd Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sat, 3 Jun 2023 10:48:23 +0200 Subject: [PATCH] fix(indentscope): dont use indentscope/blankline for lazyterm/toggleterm/notify --- lua/lazyvim/plugins/ui.lua | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/lua/lazyvim/plugins/ui.lua b/lua/lazyvim/plugins/ui.lua index b9cf301f..f11413b6 100644 --- a/lua/lazyvim/plugins/ui.lua +++ b/lua/lazyvim/plugins/ui.lua @@ -169,7 +169,18 @@ return { opts = { -- char = "▏", char = "│", - filetype_exclude = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy", "mason" }, + filetype_exclude = { + "help", + "alpha", + "dashboard", + "neo-tree", + "Trouble", + "lazy", + "mason", + "notify", + "toggleterm", + "lazyterm", + }, show_trailing_blankline_indent = false, show_current_context = false, }, @@ -187,7 +198,18 @@ return { }, init = function() vim.api.nvim_create_autocmd("FileType", { - pattern = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy", "mason", "notify" }, + pattern = { + "help", + "alpha", + "dashboard", + "neo-tree", + "Trouble", + "lazy", + "mason", + "notify", + "toggleterm", + "lazyterm", + }, callback = function() vim.b.miniindentscope_disable = true end,