minor updates
This commit is contained in:
parent
8a5f7b8a0a
commit
6944ab1e25
9 changed files with 275 additions and 266 deletions
|
|
@ -42,11 +42,17 @@ return {
|
|||
})
|
||||
|
||||
vim.keymap.set({ "n", "x", "o" }, "]]", function()
|
||||
ts_obj.move.goto_next({ "@block.outer", "@function.outer", "@class.outer" }, "textobjects")
|
||||
require("nvim-treesitter-textobjects.move").goto_next(
|
||||
{ "@block.outer", "@function.outer", "@class.outer" },
|
||||
"textobjects"
|
||||
)
|
||||
end)
|
||||
|
||||
vim.keymap.set({ "n", "x", "o" }, "[[", function()
|
||||
ts_obj.move.goto_previous({ "@block.outer", "@function.outer", "@class.outer" }, "textobjects")
|
||||
require("nvim-treesitter-textobjects.move").goto_previous(
|
||||
{ "@block.outer", "@function.outer", "@class.outer" },
|
||||
"textobjects"
|
||||
)
|
||||
end)
|
||||
|
||||
local ts_repeat_move = require("nvim-treesitter-textobjects.repeatable_move")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue