mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
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
13 lines
248 B
Lua
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)
|