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
This commit is contained in:
Pham Huy Hoang 2023-01-02 12:15:31 +09:00 committed by Sidhanth Rathod
parent ddeba3c01b
commit ae68290e1f
1 changed files with 3 additions and 6 deletions

View File

@ -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()