[docgen] Update doc/neogen.txt

skip-checks: true
This commit is contained in:
github-actions
2022-01-23 11:57:25 +00:00
parent 33ce4896bb
commit 6e48331897

View File

@@ -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: 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 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* DEVELOP *neogen-develop*