diff options
Diffstat (limited to 'data/plugins/language_python.lua')
| -rw-r--r-- | data/plugins/language_python.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/plugins/language_python.lua b/data/plugins/language_python.lua index 4802430c..f66130c5 100644 --- a/data/plugins/language_python.lua +++ b/data/plugins/language_python.lua @@ -7,7 +7,7 @@ syntax.add { headers = "^#!.*[ /]python", comment = "#", patterns = { - { pattern = { "#", "\n" }, type = "comment" }, + { pattern = "#.*$", type = "comment" }, { pattern = { '[ruU]?"""', '"""'; '\\' }, type = "string" }, { pattern = { "[ruU]?'''", "'''", '\\' }, type = "string" }, { pattern = { '[ruU]?"', '"', '\\' }, type = "string" }, |
