home: vim: which-key: use lua callbacks
Some checks failed
ci/woodpecker/push/check Pipeline failed

This commit is contained in:
Bruno BELANYI 2024-07-26 11:54:11 +00:00
parent 0d820cc2f4
commit 9ed2dcefde

View file

@ -27,7 +27,7 @@ wk.setup({
})
local keys = {
{ "<leader><leader>", "<cmd>nohls<CR>", desc = "Clear search highlight" },
{ "<leader><leader>", vim.cmd.nohlsearch, desc = "Clear search highlight" },
}
wk.add(keys)