From e3cf58f490b021dc905d3d6ce3752773d338e753 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 6 Dec 2024 15:26:49 +0100 Subject: nvim: add neogen --- .config/nvim/lua/plugins/lsp.lua | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index 2fa92c2..cda35bf 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -228,9 +228,23 @@ return { }, { "folke/lazydev.nvim", - ft = "lua", -- only load on lua files + ft = "lua", }, { 'fatih/vim-go' + }, + { + "danymat/neogen", + config = true, + opts = { + snippet_engine = "luasnip", + languages = { + python = { + template = { + annotation_convention = "reST", + } + } + } + } } } -- cgit v1.2.3-70-g09d2