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
db2dbd82d1
commit
064d68f467
|
|
@ -1,5 +1,3 @@
|
|||
vim.cmd "packadd packer.nvim"
|
||||
|
||||
local plugins = {
|
||||
["wbthomason/packer.nvim"] = {
|
||||
cmd = require("core.lazy_load").packer_cmds,
|
||||
|
|
@ -80,20 +78,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()
|
||||
|
|
|
|||
Reference in New Issue