Added types

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-03-17 16:34:11 +01:00
parent fa0745989a
commit 9556024c93
41 changed files with 65 additions and 23 deletions

View File

@@ -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 = {