From 4831c75e6f15919251d4ac1016d26e598ff75faa Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Mon, 12 May 2025 00:42:53 +0200 Subject: [PATCH] Add inner/outer-attribute text objects for working with html --- nvim/lua/plugs/treesitter.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvim/lua/plugs/treesitter.lua b/nvim/lua/plugs/treesitter.lua index 8f7bf7c..37b7887 100644 --- a/nvim/lua/plugs/treesitter.lua +++ b/nvim/lua/plugs/treesitter.lua @@ -82,6 +82,8 @@ return { ["af"] = { query = "@function.outer" }, ["il"] = { query = "@loop.inner" }, ["al"] = { query = "@loop.outer" }, + ["ia"] = { query = "@attribute.inner" }, + ["aa"] = { query = "@attribute.outer" }, }, }, },