summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-17 23:03:41 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-17 23:03:41 +0200
commit9080e10c1c0f0801e2e28ab7063a58ec84ed19ed (patch)
treed6067aac7a6a09a655ece965c0d0462872b649ed /fnl
parent5b2e7b2b7c6b3ac3556d4caeba0116af13f9dcb3 (diff)
Add parameters to text-objects
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/editor/treesitter.fnl4
1 files changed, 3 insertions, 1 deletions
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"