diff options
Diffstat (limited to 'plugins/language_sh.lua')
-rw-r--r-- | plugins/language_sh.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_sh.lua b/plugins/language_sh.lua index 7409f2d..2c861d7 100644 --- a/plugins/language_sh.lua +++ b/plugins/language_sh.lua @@ -3,7 +3,7 @@ local syntax = require "core.syntax" syntax.add { name = "Shell script", - files = { "%.sh$", "%.bash$", "^%.bashrc$", "^%.bash_profile$", "^%.profile$" }, + files = { "%.sh$", "%.bash$", PATHSEP .. "%.bashrc$", PATHSEP .. "%.bash_profile$", PATHSEP .. "%.profile$" }, headers = "^#!.*bin.*sh\n", comment = "#", patterns = { |