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.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/plugins/language_python.lua b/data/plugins/language_python.lua
index ef79f234..4a6ada33 100644
--- a/data/plugins/language_python.lua
+++ b/data/plugins/language_python.lua
@@ -2,6 +2,7 @@ local syntax = require "core.syntax"
syntax.add {
files = "%.py$",
+ headers = "^#!.*[ /]python",
comment = "#",
patterns = {
{ pattern = { "#", "\n" }, type = "comment" },