From 9080e10c1c0f0801e2e28ab7063a58ec84ed19ed Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 17 Sep 2023 23:03:41 +0200 Subject: Add parameters to text-objects --- fnl/plugins/editor/treesitter.fnl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fnl/plugins') diff --git a/fnl/plugins/editor/treesitter.fnl b/fnl/plugins/editor/treesitter.fnl index 1c85ea4..02e781f 100644 --- a/fnl/plugins/editor/treesitter.fnl +++ b/fnl/plugins/editor/treesitter.fnl @@ -31,7 +31,9 @@ :playground {:enable true} :textobjects {:select {:enable true :lookahead true - :keymaps {:af "@function.outer" + :keymaps {:aa "@parameter.outer" + :ia "@parameter.inner" + :af "@function.outer" :if "@function.inner" :ac "@class.outer" :ic {:query "@class.inner" -- cgit v1.2.3-70-g09d2