From e10bfd9390c382918f28715bd9875ed9e04969e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Thu, 30 Nov 2023 14:45:42 +0100 Subject: [PATCH] feat(nvim): add neogen --- modules/programs/nvim/plugins/coding.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/programs/nvim/plugins/coding.nix b/modules/programs/nvim/plugins/coding.nix index 44c2839..293f467 100644 --- a/modules/programs/nvim/plugins/coding.nix +++ b/modules/programs/nvim/plugins/coding.nix @@ -317,5 +317,21 @@ with builtins; cmd = [ "ConformInfo" "Format" ]; conf = readFile ./lua/conform.lua; } + { + plugin = neogen; + keys = [ + { key = "cg"; cmd = "Neogen"; desc = "Test"; } + ]; + opts = { + languages = { + python = { + template = { + annotation_convention = "reST"; + }; + }; + }; + }; + cmd = [ "Neogen" ]; + } ]; }