Fortran-FOSS-Programmers / Fortran-FOSS-Programmers/ford
Specify lexer for extra_filetypes
Open
enhancement
- Dominant language
- Python
- Stars
- 458
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Description
I'm using the `.inc` extension for include files (and the `extra_filetypes` option to include these in the documentation). However, I guess Pygments interprets this as some other kind of file and is highlighting it weird. It would be nice to somehow specify the lexer to use for these files, maybe as another option in the declaration, so:
```
extra_filetypes: inc ! ABC
```
where `ABC` is whatever info Pygments needs to treat it as Fortran.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.