From 6e48331897459b393e4f4c8b9e94602484ef1d3b Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 23 Jan 2022 11:57:25 +0000 Subject: [PATCH] [docgen] Update doc/neogen.txt skip-checks: true --- doc/neogen.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/neogen.txt b/doc/neogen.txt index 37ad3c4..4e39df0 100644 --- a/doc/neogen.txt +++ b/doc/neogen.txt @@ -108,6 +108,17 @@ The defaults are provided here: https://github.com/danymat/neogen/tree/main/lua/ To know more about how to create your own template, go here: https://github.com/danymat/neogen/blob/main/docs/adding-languages.md#default-generator +For example, changing the default annotation convention is as simple as this: +> + require('neogen').setup { + languages = { + csharp = { + template = { annotation_convention = "..." } + } + } + } +< + ================================================================================ DEVELOP *neogen-develop*