Move friendly-snippets to start

There is no reason to lazy load this plugin as there is no lua file
Move it to start to simply loading sequence
pull/1685/head
Pham Huy Hoang 1 year ago committed by Sidhanth Rathod
parent ddeba3c01b
commit ae68290e1f

@ -133,20 +133,17 @@ local plugins = {
-- load luasnips + cmp related in insert mode only
["rafamadriz/friendly-snippets"] = {
module = { "cmp", "cmp_nvim_lsp" },
event = "InsertEnter",
},
["rafamadriz/friendly-snippets"] = { },
["hrsh7th/nvim-cmp"] = {
after = "friendly-snippets",
event = "InsertEnter",
config = function()
require "plugins.configs.cmp"
end,
},
["L3MON4D3/LuaSnip"] = {
wants = "friendly-snippets",
requires = "friendly-snippets",
after = "nvim-cmp",
config = function()
require("plugins.configs.others").luasnip()

Loading…
Cancel
Save