feat(ui)!: move mini.indentscope to an extra

This commit is contained in:
Folke Lemaitre
2024-05-16 18:53:21 +02:00
parent 03704e2299
commit 69e6daae2c
2 changed files with 43 additions and 35 deletions

View File

@ -219,7 +219,7 @@ return {
char = "",
tab_char = "",
},
scope = { enabled = false },
scope = { show_start = false, show_end = false },
exclude = {
filetypes = {
"help",
@ -239,40 +239,6 @@ return {
main = "ibl",
},
-- 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 = {
"help",
"alpha",
"dashboard",
"neo-tree",
"Trouble",
"trouble",
"lazy",
"mason",
"notify",
"toggleterm",
"lazyterm",
},
callback = function()
vim.b.miniindentscope_disable = true
end,
})
end,
},
-- Displays a popup with possible key bindings of the command you started typing
{
"folke/which-key.nvim",