[docgen] Update doc/neogen.txt
skip-checks: true
This commit is contained in:
@@ -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*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user