From 7d2552c852e5207c0442bc3adbf0a2e36ce2942c Mon Sep 17 00:00:00 2001 From: danymat Date: Sun, 23 Jan 2022 12:57:03 +0100 Subject: [PATCH] doc: Update docs --- docs/DOCS.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/DOCS.md b/docs/DOCS.md index 9c869cb..06f02e3 100644 --- a/docs/DOCS.md +++ b/docs/DOCS.md @@ -93,6 +93,18 @@ require('neogen').setup { 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: + +```lua +require('neogen').setup { + languages = { + csharp = { + template = { annotation_convention = "..." } + } + } +} +``` + # Develop - Want to add a new language?