aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorمحمدحسین ملکیان <mhmak567@gmail.com>2023-09-14 09:22:06 +0330
committerjgmdev <jgmdev@gmail.com>2023-09-14 15:28:17 -0400
commit117675214927aa6851a0d6dc96338af1d388c263 (patch)
treed405082508ebdfc3ac25815abc8112c44f468bdb /plugins
parent6c407b239b7d71d612db5c0fd5bf68dd583e50fb (diff)
downloadpragtical-plugins-117675214927aa6851a0d6dc96338af1d388c263.tar.gz
pragtical-plugins-117675214927aa6851a0d6dc96338af1d388c263.zip
Added .zsh and .fish support for language_sh (#291)
* change language_sh version in manifest.json * Add support for .zsh and .fish * Update manifest.json Co-authored-by: Guldoman <giulio.lettieri@gmail.com> --------- Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/language_sh.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/language_sh.lua b/plugins/language_sh.lua
index 94ba6f3..6636e62 100644
--- a/plugins/language_sh.lua
+++ b/plugins/language_sh.lua
@@ -13,8 +13,8 @@ local string_interpolation_syntax = { patterns = {}, symbols = {} }
local sh_syntax = {
name = "Shell script",
files = {
- "%.sh$", "%.bash$", PATHSEP .. "%.bashrc$",
- PATHSEP .. "%.bash_profile$", PATHSEP .. "%.profile$"
+ "%.sh$", "%.bash$", "%.zsh$", "%.fish$", PATHSEP .. "%.bashrc$",
+ PATHSEP .. "%.bash_profile$", PATHSEP .. "%.profile$",
},
headers = "^#!.*bin.*sh\n",
comment = "#",