From 82aecf18310666f099fb72531ada7a405bc06bc4 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 10 Jan 2023 09:23:32 +0100 Subject: feat: add neogen --- lua/alpha/plugins.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'lua/alpha/plugins.lua') diff --git a/lua/alpha/plugins.lua b/lua/alpha/plugins.lua index 42843e7..1c46d96 100644 --- a/lua/alpha/plugins.lua +++ b/lua/alpha/plugins.lua @@ -233,7 +233,7 @@ return require("packer").startup(function(use) "NTBBloodbath/rest.nvim", requires = { "nvim-lua/plenary.nvim" }, ft = "http", - config = function () + config = function() require("alpha.rest") end, }) @@ -247,8 +247,18 @@ return require("packer").startup(function(use) "phaazon/mind.nvim", branch = "v2.2", requires = { "nvim-lua/plenary.nvim" }, + cmd = { "MindOpenMain", "MindOpenProject" } }) + use { + "danymat/neogen", + config = function() + require('neogen').setup({ snippet_engine = "luasnip" }) + end, + cmd = "Neogen", + requires = "nvim-treesitter/nvim-treesitter", + } + -- Local plugins can be included local_use("telescope-projectionist.nvim") local_use("php-code-actions.nvim") -- cgit v1.2.3