@@ -1,3 +1,4 @@
|
||||
--- @type LazyPluginSpec
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||
lazy = true,
|
||||
@@ -49,13 +50,13 @@ return {
|
||||
enable = true,
|
||||
swap_next = {
|
||||
["<leader>ma"] = "@parameter.inner", -- swap parameters/argument with next
|
||||
["<leader>m:"] = "@property.outer", -- swap object property with next
|
||||
["<leader>mm"] = "@function.outer", -- swap function with next
|
||||
["<leader>m:"] = "@property.outer", -- swap object property with next
|
||||
["<leader>mm"] = "@function.outer", -- swap function with next
|
||||
},
|
||||
swap_previous = {
|
||||
["<leader>mpa"] = "@parameter.inner", -- swap parameters/argument with prev
|
||||
["<leader>mp:"] = "@property.outer", -- swap object property with prev
|
||||
["<leader>mpm"] = "@function.outer", -- swap function with previous
|
||||
["<leader>mp:"] = "@property.outer", -- swap object property with prev
|
||||
["<leader>mpm"] = "@function.outer", -- swap function with previous
|
||||
},
|
||||
},
|
||||
move = {
|
||||
|
||||
Reference in New Issue
Block a user