13 lines
416 B
Lua
13 lines
416 B
Lua
return {
|
|
"Wansmer/sibling-swap.nvim",
|
|
dependencies = "nvim-treesitter/nvim-treesitter",
|
|
opts = {
|
|
use_default_keymaps = false,
|
|
highlight_node_at_cursor = true,
|
|
},
|
|
-- stylua: ignore
|
|
keys = {
|
|
{ "<C-.>", function() require("sibling-swap").swap_with_right() end, desc = "Move Node Right" },
|
|
{ "<C-,>", function() require("sibling-swap").swap_with_left() end, desc = "Move Node Left" },
|
|
},
|
|
}
|