nvim: oopsie

This commit is contained in:
Léana 江 2023-06-23 22:11:24 +02:00 committed by Léana 江
parent aa0b6d17a7
commit 603098f2a5
4 changed files with 17 additions and 9 deletions

View file

@ -42,3 +42,9 @@ vim.keymap.set("n", "<leader>w",
function() vim.cmd.setlocal("invwrap") end,
{ desc = "toggle wrap locally", silent = true }
)
vim.keymap.set("n", "<leader>hg",
function()
for _, v in ipairs(vim.treesitter.get_captures_at_cursor()) do print(v) end
end,
{ desc = "show highlight group at cursor", silent = true }
)