load friendly-snippets before nvim-cmp
This commit is contained in:
parent
0fece65c3f
commit
d1777dfbdf
@ -180,8 +180,13 @@ return packer.startup(function()
|
||||
-- load luasnips + cmp related in insert mode only
|
||||
|
||||
use {
|
||||
"hrsh7th/nvim-cmp",
|
||||
"rafamadriz/friendly-snippets",
|
||||
event = "InsertEnter",
|
||||
}
|
||||
|
||||
use {
|
||||
"hrsh7th/nvim-cmp",
|
||||
after = "friendly-snippets",
|
||||
config = function()
|
||||
require "plugins.configs.cmp"
|
||||
end,
|
||||
@ -216,11 +221,6 @@ return packer.startup(function()
|
||||
after = "cmp-nvim-lsp",
|
||||
}
|
||||
|
||||
use {
|
||||
"rafamadriz/friendly-snippets",
|
||||
after = "cmp-buffer",
|
||||
}
|
||||
|
||||
-- misc plugins
|
||||
use {
|
||||
"windwp/nvim-autopairs",
|
||||
|
Loading…
Reference in New Issue
Block a user