feat: add scope-related plugins

This commit is contained in:
Devin Haska 2024-01-29 14:19:04 -08:00
parent fb248145ad
commit 47e9e6c5ee
2 changed files with 57 additions and 0 deletions

55
lua/plugins/ui.lua Normal file
View file

@ -0,0 +1,55 @@
return {
{
"lukas-reineke/indent-blankline.nvim",
opts = {
indent = {
char = "",
tab_char = "",
},
scope = { enabled = false },
exclude = {
filetypes = {
"help",
"alpha",
"dashboard",
"neo-tree",
"Trouble",
"trouble",
"lazy",
"mason",
"notify",
"toggleterm",
"lazyterm",
},
},
},
main = "ibl",
},
{
"echasnovski/mini.indentscope",
opts = {
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,
},
}