From e8a9a425be6bef4fb874487195cd8e6b09e07063 Mon Sep 17 00:00:00 2001 From: Daniel Mathiot Date: Mon, 23 Aug 2021 18:49:10 +0200 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c1f574d..6d7055c 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,11 @@ require('neogen').setup { languages = { lua = { template = { - annotation_convention = "emmylua" -- for a full list of annotation_conventions, see supported-languages below + annotation_convention = "emmylua" -- for a full list of annotation_conventions, see supported-languages below, + ... -- for more template configurations, see the language's configuration file in configurations/{lang}.lua } - } + }, + ... } } ``` @@ -84,7 +86,7 @@ There is a list of supported languages and fields, with their annotation style | Language | Annotation conventions | Supported fields | |---|---|---| -| lua | Emmylua (`"emmylua"` | `@param`, `@varargs`, `@return` | +| lua | Emmylua (`"emmylua"`) | `@param`, `@varargs`, `@return` | | python | Google docstrings (`"google_docstrings"`) | `Args:`, `Attributes:` | ## Adding Languages