-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
LuaSnip is defined in LSP/init.lua but should have a separate file (according to rule one file one plugin):
nvim/lua/packer/plugs/lsp/init.lua
Lines 10 to 19 in 0c44194
| { | |
| "L3MON4D3/LuaSnip", | |
| requires = { | |
| { "saadparwaiz1/cmp_luasnip" }, -- Snippets source for nvim-cmp | |
| { "rafamadriz/friendly-snippets" }, -- Snippets collection for a set of different programming languages for faster development. | |
| }, | |
| config = function() | |
| require("luasnip/loaders/from_vscode").lazy_load() | |
| end, | |
| }, -- Snippets plugin |
I do not know how to achieve it at this moment since I can call cmp.setup() only once and I want to register snippets with LSP.
Metadata
Metadata
Assignees
Labels
No labels