From e629efafd8f529ff9b1297b947b4438bf4d2265c Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sun, 2 Aug 2020 19:35:52 +0200 Subject: Textobjects: provide mappings for all swap/goto functions --- lua/nvim-treesitter/configs.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lua/nvim-treesitter/configs.lua') 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 = {} } } -- cgit v1.2.3