From 5a617aeaff4a0df6cfba419ee65b915f73f120e3 Mon Sep 17 00:00:00 2001 From: David Ibia Date: Sun, 17 Mar 2024 15:02:45 +0100 Subject: [PATCH] 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 --- lua/absolute/after/treesj.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/absolute/after/treesj.lua b/lua/absolute/after/treesj.lua index 75e68f6..1aea2c0 100644 --- a/lua/absolute/after/treesj.lua +++ b/lua/absolute/after/treesj.lua @@ -1,10 +1,11 @@ local tsj = require("treesj") tsj.setup({ - use_default_keymaps = false, + use_default_keymaps = false, + max_join_length = 400, }) -local opts = {} +local opts = { silent = true, noremap = true } opts.desc = "Toggle Treesitter Join"