aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/language_sh.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_sh.lua b/plugins/language_sh.lua
index 863cd57..c4153c2 100644
--- a/plugins/language_sh.lua
+++ b/plugins/language_sh.lua
@@ -2,6 +2,7 @@ local syntax = require "core.syntax"
syntax.add {
files = { "%.sh$" },
+ headers = "^#!.*bin.*sh\n",
comment = "#",
patterns = {
{ pattern = "#.*\n", type = "comment" },