From 1f99b3c587814ad887695c8d72226248d2953696 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 7 May 2025 19:51:02 +0300 Subject: Added treewalker to swap function args/params etc, might switch to: https://github.com/mizlan/iswap.nvim later on bcz it seems better --- .config/nvim/lua/plugins/treewalker.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .config/nvim/lua/plugins/treewalker.lua (limited to '.config/nvim/lua/plugins/treewalker.lua') diff --git a/.config/nvim/lua/plugins/treewalker.lua b/.config/nvim/lua/plugins/treewalker.lua new file mode 100644 index 0000000..af4992b --- /dev/null +++ b/.config/nvim/lua/plugins/treewalker.lua @@ -0,0 +1,12 @@ +return { + 'aaronik/treewalker.nvim', + keys = { + { 'H', 'Treewalker SwapLeft', silent = true }, + { 'L', 'Treewalker SwapRight', silent = true }, + }, + opts = { + highlight = true, + highlight_duration = 250, + highlight_group = 'CursorLine', + }, +} -- cgit v1.3.1