From 0e8605da5c9ad371eb1f96e22f821d8c29a026e2 Mon Sep 17 00:00:00 2001 From: rxi Date: Mon, 8 Jun 2020 16:14:24 +0100 Subject: Updated plugins/language_sh.lua with header patterns Resolves #45 --- plugins/language_sh.lua | 1 + 1 file changed, 1 insertion(+) 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" }, -- cgit v1.2.3