dotfiles/.config/nvim/lua/plugins/mini-indentscope.lua

39 lines
829 B
Lua

return {
"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,
draw = {
animation = require("mini.indentscope").gen_animation.none(),
},
},
},
init = function()
vim.api.nvim_create_autocmd("FileType", {
pattern = {
"Trouble",
"alpha",
"dashboard",
"fzf",
"help",
"lazy",
"mason",
"neo-tree",
"notify",
"snacks_notif",
"snacks_terminal",
"snacks_win",
"toggleterm",
"trouble",
"bigfile",
},
callback = function()
vim.b.miniindentscope_disable = true
end,
})
end,
}