add: create autocmd for ignore indentscupe

This commit is contained in:
asep.komarudin 2024-06-07 12:26:53 +07:00
parent c8798367cc
commit 73f85d9584
4 changed files with 19 additions and 18 deletions

View file

@ -10,12 +10,6 @@ if vim.g.pcode_indentscope and true or false then
options = { try_as_border = true },
},
config = function(_, opts)
vim.api.nvim_create_autocmd("FileType", {
pattern = { "help", "alpha", "dashboard", "NvimTree", "Trouble", "lazy", "mason" },
callback = function()
vim.b.miniindentscope_disable = true
end,
})
require("mini.indentscope").setup(opts)
end,
}