doc: Mention how to quickly add filetypes support

See also:  #122
This commit is contained in:
Daniel
2023-01-12 00:08:05 +01:00
committed by GitHub
parent 2961b48f72
commit be28d2a4f6

View File

@@ -214,6 +214,16 @@ require('neogen').setup {
} }
``` ```
For example, if you want to quickly add support for new filetypes based around existing ones, you can do like this:
```lua
require('neogen').setup({
languages = {
['cpp.doxygen'] = require('neogen.configurations.cpp')
}
})
```
## Supported Languages ## Supported Languages
There is a list of supported languages and fields, with their annotation style There is a list of supported languages and fields, with their annotation style