Files
absolute-vim/lua/absolute/after/treesj.lua
David Ibia 5a617aeaff style(treesj.lua): fix indentation and align key-value pairs for better readability
feat(treesj.lua): add max_join_length option to tsj.setup for configuring maximum join length
feat(treesj.lua): add silent and noremap options to opts variable for better key mapping control
2024-03-17 15:02:45 +01:00

13 lines
248 B
Lua

local tsj = require("treesj")
tsj.setup({
use_default_keymaps = false,
max_join_length = 400,
})
local opts = { silent = true, noremap = true }
opts.desc = "Toggle Treesitter Join"
vim.keymap.set("n", "<leader>m", "<cmd>TSJToggle<CR>", opts)