Skip to content

Commit e11725c

Browse files
committed
update mini config
1 parent abac6ba commit e11725c

File tree

1 file changed

+35
-30
lines changed

1 file changed

+35
-30
lines changed

lua/plugins/mini.lua

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ return {
4141
{
4242
"echasnovski/mini.splitjoin",
4343
event = "LazyFile",
44-
opts = {},
44+
opts = {
45+
mappings = {
46+
toggle = "gJ", -- prevent conflict with mini.operators `gs`
47+
},
48+
},
4549
},
4650

4751
{
@@ -72,35 +76,36 @@ return {
7276
},
7377
},
7478

75-
{
76-
"echasnovski/mini.indentscope",
77-
event = "LazyFile",
78-
opts = {
79-
symbol = "",
80-
options = { try_as_border = true },
81-
},
82-
init = function()
83-
vim.api.nvim_create_autocmd("FileType", {
84-
pattern = {
85-
"alpha",
86-
"dashboard",
87-
"fzf",
88-
"help",
89-
"lazy",
90-
"lazyterm",
91-
"mason",
92-
"neo-tree",
93-
"notify",
94-
"toggleterm",
95-
"Trouble",
96-
"trouble",
97-
},
98-
callback = function()
99-
vim.b.miniindentscope_disable = true
100-
end,
101-
})
102-
end,
103-
},
79+
-- currently using snacks indent
80+
-- {
81+
-- "echasnovski/mini.indentscope",
82+
-- event = "LazyFile",
83+
-- opts = {
84+
-- symbol = "│",
85+
-- options = { try_as_border = true },
86+
-- },
87+
-- init = function()
88+
-- vim.api.nvim_create_autocmd("FileType", {
89+
-- pattern = {
90+
-- "alpha",
91+
-- "dashboard",
92+
-- "fzf",
93+
-- "help",
94+
-- "lazy",
95+
-- "lazyterm",
96+
-- "mason",
97+
-- "neo-tree",
98+
-- "notify",
99+
-- "toggleterm",
100+
-- "Trouble",
101+
-- "trouble",
102+
-- },
103+
-- callback = function()
104+
-- vim.b.miniindentscope_disable = true
105+
-- end,
106+
-- })
107+
-- end,
108+
-- },
104109

105110
{
106111
"echasnovski/mini.icons",

0 commit comments

Comments
 (0)