From 25eacd32ac6a2b4e289af7515317094e1669b034 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 11 Nov 2024 08:59:29 +0100 Subject: [PATCH] style: docs --- lua/lazyvim/config/keymaps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/config/keymaps.lua b/lua/lazyvim/config/keymaps.lua index 6f9968d7..5a9fbc80 100644 --- a/lua/lazyvim/config/keymaps.lua +++ b/lua/lazyvim/config/keymaps.lua @@ -181,7 +181,7 @@ map("n", "]", "tabnext", { desc = "Next Tab" }) map("n", "d", "tabclose", { desc = "Close Tab" }) map("n", "[", "tabprevious", { desc = "Previous Tab" }) --- native snippets +-- native snippets. only needed on < 0.11, as 0.11 creates these by default if vim.fn.has("nvim-0.11") == 0 then map("s", "", function() return vim.snippet.active({ direction = 1 }) and "lua vim.snippet.jump(1)" or ""