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 ""