Skip to content

Commit 9c49c4a

Browse files
committed
switch mini.ai to default next/last
1 parent e42baee commit 9c49c4a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

home/nvim/lua/plugins.lua

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,6 @@ return inject_all({
269269
{ "nvim-treesitter/nvim-treesitter-textobjects" },
270270
},
271271
opts = {
272-
mappings = {
273-
around_last = "aN",
274-
inside_last = "iN",
275-
},
276272
n_lines = 200,
277273
},
278274
config = function(_, opts)
@@ -293,7 +289,7 @@ return inject_all({
293289
i = { "@customconditional.inner", "@conditional.inner" },
294290
}),
295291
-- loop
296-
l = require("mini.ai").gen_spec.treesitter({ a = "@loop.outer", i = { "@customloop.inner", "@loop.inner" } }),
292+
L = require("mini.ai").gen_spec.treesitter({ a = "@loop.outer", i = { "@customloop.inner", "@loop.inner" } }),
297293
-- disable quote, I use string
298294
q = false,
299295
-- string
@@ -1651,7 +1647,7 @@ return inject_all({
16511647
f = "a",
16521648
c = "a",
16531649
i = "a",
1654-
l = "a",
1650+
L = "a",
16551651
t = "a",
16561652
}) do
16571653
local edge = "left"

0 commit comments

Comments
 (0)