diff --git a/neovim/lazylock-0.10.json b/neovim/lazylock-0.10.json index 37cbf43..28bd3ca 100644 --- a/neovim/lazylock-0.10.json +++ b/neovim/lazylock-0.10.json @@ -5,7 +5,7 @@ }, "LuaSnip": { "branch": "master", - "commit": "500981ff6cefc7343e3959ef0f939bd0bfd49ba9" + "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, "cmp-buffer": { "branch": "main", @@ -117,7 +117,7 @@ }, "nvim-lspconfig": { "branch": "master", - "commit": "df9c116cbcf0aa7e58f2b36b0296fa687e87f36f" + "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" }, "nvim-navic": { "branch": "master", diff --git a/neovim/lua/lazy_plugins.lua b/neovim/lua/lazy_plugins.lua index ce916cc..fe93569 100644 --- a/neovim/lua/lazy_plugins.lua +++ b/neovim/lua/lazy_plugins.lua @@ -170,6 +170,7 @@ return { dependencies = { { "https://github.com/neovim/nvim-lspconfig" } }, }, }, + event = "VeryLazy", }, -- On Mac, update colors when dark mode changes @@ -366,6 +367,14 @@ return { "https://github.com/L3MON4D3/LuaSnip", version = "1.x.x", event = "InsertEnter *", + config = function() + require("luasnip.loaders.from_vscode").lazy_load() + end, + dependencies = { + { + "https://github.com/rafamadriz/friendly-snippets", + }, + }, }, { "https://github.com/hrsh7th/cmp-nvim-lsp", @@ -412,19 +421,13 @@ return { }, -- Add snippets - { - "https://github.com/rafamadriz/friendly-snippets", - dependencies = { { "https://github.com/L3MON4D3/LuaSnip" } }, - config = function() - require("luasnip.loaders.from_vscode").lazy_load() - end, - event = "InsertEnter *", - }, event = "InsertEnter *", }, { "https://github.com/ray-x/lsp_signature.nvim", + lazy = true, + event = "VeryLazy", opts = { extra_trigger_chars = { "(", "," }, auto_close_after = nil,