diff options
author | rxi <rxi@users.noreply.github.com> | 2020-06-08 16:14:24 +0100 |
---|---|---|
committer | rxi <rxi@users.noreply.github.com> | 2020-06-08 16:14:24 +0100 |
commit | 0e8605da5c9ad371eb1f96e22f821d8c29a026e2 (patch) | |
tree | 4266a01e7d885e4d630a55a794748425621e3304 /plugins/language_sh.lua | |
parent | e4b21e6c85e541c53299d5c652b932758bb1f4b7 (diff) | |
download | lite-xl-plugins-0e8605da5c9ad371eb1f96e22f821d8c29a026e2.tar.gz lite-xl-plugins-0e8605da5c9ad371eb1f96e22f821d8c29a026e2.zip |
Updated plugins/language_sh.lua with header patterns
Resolves #45
Diffstat (limited to 'plugins/language_sh.lua')
-rw-r--r-- | plugins/language_sh.lua | 1 |
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" }, |