1
0
mirror of https://github.com/gryf/python-syntax.git synced 2025-12-17 11:30:27 +01:00

Add new option 'python_highlight_file_headers_as_comments'

The option is disabled by default and when enabled highlight shebang and
coding file headers as comments instead of special characters.
This commit is contained in:
Dmitry Vasiliev
2013-08-31 14:28:14 +02:00
parent 21a2e84df6
commit 69f8e12a46
3 changed files with 16 additions and 4 deletions

View File

@@ -117,6 +117,8 @@ Options used by the script
Highlight doc-tests
``python_print_as_function``
Highlight ``print`` statement as function for Python 2
``python_highlight_file_headers_as_comments``
Highlight shebang and coding headers as comments
``python_highlight_all``
Enable all the options above. *NOTE: This option don't override any
previously set options*