Make things more lazy

This commit is contained in:
ViViDboarder 2024-07-18 11:21:21 -07:00
parent 2603cb270f
commit a823fa78f9
2 changed files with 13 additions and 10 deletions

View File

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

View File

@ -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,