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:
parent
ddeba3c01b
commit
ae68290e1f
1 changed files with 3 additions and 6 deletions
|
@ -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…
Reference in a new issue