
## Description mini.indentscope would act on the snacks dashboard if it was somehow loaded while the dashboard is still open. ## Related Issue(s) I forgot about mini.indentscope in #4895 :) ## Screenshots **Actually** fixes this:  ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
47 lines
1.1 KiB
Lua
47 lines
1.1 KiB
Lua
return {
|
|
-- Active indent guide and indent text objects. When you're browsing
|
|
-- code, this highlights the current level of indentation, and animates
|
|
-- the highlighting.
|
|
{
|
|
"echasnovski/mini.indentscope",
|
|
version = false, -- wait till new 0.7.0 release to put it back on semver
|
|
event = "LazyFile",
|
|
opts = {
|
|
-- symbol = "▏",
|
|
symbol = "│",
|
|
options = { try_as_border = true },
|
|
},
|
|
init = function()
|
|
vim.api.nvim_create_autocmd("FileType", {
|
|
pattern = {
|
|
"Trouble",
|
|
"alpha",
|
|
"dashboard",
|
|
"fzf",
|
|
"help",
|
|
"lazy",
|
|
"mason",
|
|
"neo-tree",
|
|
"notify",
|
|
"snacks_dashboard",
|
|
"snacks_notif",
|
|
"snacks_terminal",
|
|
"snacks_win",
|
|
"toggleterm",
|
|
"trouble",
|
|
},
|
|
callback = function()
|
|
vim.b.miniindentscope_disable = true
|
|
end,
|
|
})
|
|
end,
|
|
},
|
|
{
|
|
"lukas-reineke/indent-blankline.nvim",
|
|
event = "LazyFile",
|
|
opts = {
|
|
scope = { enabled = false },
|
|
},
|
|
},
|
|
}
|