mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nvim/lazy: refactor cmp plugins
This commit is contained in:
parent
f951ce518a
commit
02336b02bf
1 changed files with 12 additions and 5 deletions
|
|
@ -157,16 +157,23 @@ local plugins = {
|
||||||
-- Completion
|
-- Completion
|
||||||
--
|
--
|
||||||
{
|
{
|
||||||
"hrsh7th/nvim-cmp", -- Autocompletion
|
-- Snippet Engine (write your own snippets in lua or load from json)
|
||||||
|
"L3MON4D3/LuaSnip",
|
||||||
|
dependencies = {
|
||||||
|
"saadparwaiz1/cmp_luasnip", -- Glue to use with nvim-cmp
|
||||||
|
"rafamadriz/friendly-snippets", -- Adds a number of user-friendly snippets
|
||||||
|
"mrcjkb/haskell-snippets.nvim", -- Haskell snippets
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
-- Completion
|
||||||
|
"hrsh7th/nvim-cmp",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"L3MON4D3/LuaSnip", -- Snippet Engine
|
|
||||||
"saadparwaiz1/cmp_luasnip",
|
|
||||||
"hrsh7th/cmp-nvim-lsp", -- LSP completion
|
"hrsh7th/cmp-nvim-lsp", -- LSP completion
|
||||||
"hrsh7th/cmp-path", -- Path source
|
"hrsh7th/cmp-path", -- Path source
|
||||||
"rafamadriz/friendly-snippets", -- Adds a number of user-friendly snippets
|
|
||||||
"hrsh7th/cmp-buffer", -- Buffer cmp source
|
"hrsh7th/cmp-buffer", -- Buffer cmp source
|
||||||
"f3fora/cmp-spell", -- Spell cmp source
|
"f3fora/cmp-spell", -- Spell cmp source
|
||||||
"mrcjkb/haskell-snippets.nvim", -- Haskell snippets
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue