diff options
| -rw-r--r-- | home/.config/nvim/lua/custom/plugins/ts.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/home/.config/nvim/lua/custom/plugins/ts.lua b/home/.config/nvim/lua/custom/plugins/ts.lua index 9bafc60..43a8370 100644 --- a/home/.config/nvim/lua/custom/plugins/ts.lua +++ b/home/.config/nvim/lua/custom/plugins/ts.lua @@ -5,28 +5,28 @@ return { { "<a-k>", "<cmd>Treewalker Up<cr>", - { "n", "v" }, + mode = { "n", "v" }, silent = true, desc = "Moves up to the previous neighbor node", }, { "<a-j>", "<cmd>Treewalker Down<cr>", - { "n", "v" }, + mode = { "n", "v" }, silent = true, desc = "Moves up to the next neighbor node", }, { "<a-h>", "<cmd>Treewalker Left<cr>", - { "n", "v" }, + mode = { "n", "v" }, silent = true, desc = "Moves to the first ancestor node that's on a different line from the current node", }, { "<a-l>", "<cmd>Treewalker Right<cr>", - { "n", "v" }, + mode = { "n", "v" }, silent = true, desc = "Moves to the next node down that's indented further than the current node", }, |
