mini-dots/chezmoi/dot_config/nvim/lua/aleidk/plugins/ts-node-action.lua
aleidk d3a88cbb28 first commit
config imported from personal dotfiles aleee-idk/dots
2024-08-05 14:51:17 -04:00

23 lines
530 B
Lua

return {
{
"ckolkey/ts-node-action",
dependencies = { "nvim-treesitter" },
event = "VeryLazy",
config = function()
require("ts-node-action").setup({})
vim.keymap.set({ "n" }, "<leader>lA", require("ts-node-action").node_action, { desc = "Node Action" })
end,
},
{
"Wansmer/treesj",
cmd = { "TSJToggle" },
keys = {
{ "<leader>lm", "<CMD>TSJToggle<CR>", desc = "Toggle treesitter join" },
},
dependencies = { "nvim-treesitter/nvim-treesitter" },
opts = {
use_default_keymaps = true,
},
},
}