diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax index 6690d98c..2145beec 100644 --- a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax +++ b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax @@ -8,7 +8,8 @@ { "meta": { "name": "Python", - "file_suffix": ["py", "pyc"] + "file_suffix": ["py", "pyc"], + "first_line_regex" : "(#!).+(python)" }, "format": { "line_wrap": false, |