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)" })