This commit is contained in:
2024-07-31 23:03:49 +02:00
parent 9d1cff8b9b
commit 9c2a826e5a
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ vim.keymap.set("n", "<C-l>", function()
if vim.snippet then
vim.snippet.stop()
end
return "<C-l>"
return "<cmd>nohlsearch<cr><cmd>diffupdate<cr><C-l>"
end, { expr = true })
vim.keymap.set({ "i", "s" }, "<C-n>", function()
if vim.snippet.active({ direction = 1 }) then