From 2be52c73b776405f2bb579d031c0323aaa9d49e2 Mon Sep 17 00:00:00 2001 From: danymat Date: Wed, 12 Jan 2022 10:08:23 +0100 Subject: [PATCH] (py) Update configurations --- lua/neogen/configurations/python.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/neogen/configurations/python.lua b/lua/neogen/configurations/python.lua index 5abc443..24ce7d1 100644 --- a/lua/neogen/configurations/python.lua +++ b/lua/neogen/configurations/python.lua @@ -134,7 +134,7 @@ return { generator = nil, template = { - annotation_convention = "numpydoc", -- required: Which annotation convention to use (default_generator) + annotation_convention = "google_docstrings", -- required: Which annotation convention to use (default_generator) append = { position = "after", child_name = "block" }, -- optional: where to append the text (default_generator) use_default_comment = false, -- If you want to prefix the template with the default comment for the language, e.g for python: # (default_generator) position = function(node, type)