From 5ac6e4b5eae5947d20622190134472c8e42eda57 Mon Sep 17 00:00:00 2001 From: Natercio Moniz Date: Tue, 5 Aug 2025 09:49:14 +0100 Subject: [PATCH] enabled friendly-snippets --- init.lua | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/init.lua b/init.lua index 3888e27..90877c3 100644 --- a/init.lua +++ b/init.lua @@ -494,15 +494,12 @@ require('lazy').setup({ return 'make install_jsregexp' end)(), dependencies = { - -- `friendly-snippets` contains a variety of premade snippets. - -- See the README about individual language/framework/plugin snippets: - -- https://github.com/rafamadriz/friendly-snippets - -- { - -- 'rafamadriz/friendly-snippets', - -- config = function() - -- require('luasnip.loaders.from_vscode').lazy_load() - -- end, - -- }, + { + 'rafamadriz/friendly-snippets', + config = function() + require('luasnip.loaders.from_vscode').lazy_load() + end, + }, }, opts = {}, }, @@ -554,6 +551,7 @@ require('lazy').setup({ sources = { default = { 'lsp', 'path', 'snippets', 'lazydev' }, providers = { + snippets = { score_offset = -100 }, lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 }, }, },