diff --git a/.config/nvim/lua/_lazy.lua b/.config/nvim/lua/_lazy.lua index 6a59552c..11decf58 100644 --- a/.config/nvim/lua/_lazy.lua +++ b/.config/nvim/lua/_lazy.lua @@ -157,16 +157,23 @@ local plugins = { -- 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 = { - "L3MON4D3/LuaSnip", -- Snippet Engine - "saadparwaiz1/cmp_luasnip", "hrsh7th/cmp-nvim-lsp", -- LSP completion "hrsh7th/cmp-path", -- Path source - "rafamadriz/friendly-snippets", -- Adds a number of user-friendly snippets "hrsh7th/cmp-buffer", -- Buffer cmp source "f3fora/cmp-spell", -- Spell cmp source - "mrcjkb/haskell-snippets.nvim", -- Haskell snippets }, }, }