doc: Update docs

This commit is contained in:
danymat
2022-01-23 12:57:03 +01:00
parent 2ee0ecd802
commit 7d2552c852

View File

@@ -93,6 +93,18 @@ require('neogen').setup {
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:
```lua
require('neogen').setup {
languages = {
csharp = {
template = { annotation_convention = "..." }
}
}
}
```
# Develop # Develop
- Want to add a new language? - Want to add a new language?