A simple modeline parser (based on pymodeline).
Unknown Field: copyright | |
Copyright 2006-2021 by the Pygments team, see AUTHORS. | |
Unknown Field: license | |
BSD, see LICENSE for details. |
Variable | modeline_re |
Undocumented |
Function | get_filetype_from_buffer |
Scan the buffer for modelines and return filetype if one is found. |
Function | get_filetype_from_line |
Undocumented |