summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/configs.lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-08-02 19:35:52 +0200
committerStephan Seitz <stephan.seitz@fau.de>2020-08-17 17:44:40 +0200
commite629efafd8f529ff9b1297b947b4438bf4d2265c (patch)
tree83d60021573cbba25b0a829b8417297e13dbda0e /lua/nvim-treesitter/configs.lua
parent1642e37499e0d58952cb6b5e3bedc9126cc43e4a (diff)
Textobjects: provide mappings for all swap/goto functions
Diffstat (limited to 'lua/nvim-treesitter/configs.lua')
-rw-r--r--lua/nvim-treesitter/configs.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua
index 350a8cda..bcaa2819 100644
--- a/lua/nvim-treesitter/configs.lua
+++ b/lua/nvim-treesitter/configs.lua
@@ -86,8 +86,12 @@ local builtin_modules = {
return has_some_textobject_mapping(lang) or queries.has_textobjects(lang)
end,
keymaps = {},
- swap_next_keymaps = {},
- swap_previous_keymaps = {}
+ swap_next = {},
+ swap_previous = {},
+ goto_next_start = {},
+ goto_next_end = {},
+ goto_previous_start = {},
+ goto_previous_end = {}
}
}