From 8bfcb88ae9586005e6d16ecac4130ed5594d376c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Wi=C4=85cek?= Date: Thu, 30 Oct 2025 00:13:27 +0100 Subject: [PATCH] Fix l delay in visual mode --- lua/plugins/treesitter-textobjects.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/treesitter-textobjects.lua b/lua/plugins/treesitter-textobjects.lua index b1bfd5e..870b5ab 100644 --- a/lua/plugins/treesitter-textobjects.lua +++ b/lua/plugins/treesitter-textobjects.lua @@ -76,10 +76,10 @@ return { map({ "x", "o" }, "ia", function() select("@assignment.inner", "textobjects") end, { desc = "Select inside assignment" }) - map({ "x", "o" }, "la", function() + map({ "x", "o" }, "a<", function() select("@assignment.lhs", "textobjects") end, { desc = "Select left side of assignment (key)" }) - map({ "x", "o" }, "ra", function() + map({ "x", "o" }, "a>", function() select("@assignment.rhs", "textobjects") end, { desc = "Select right side of assignment (value)" })