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