aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorمحمدحسین ملکیان <mhmak567@gmail.com>2023-09-14 09:22:06 +0330
committerGitHub <noreply@github.com>2023-09-14 07:52:06 +0200
commitb167553f744d8aba806e806427f0b39ee149f190 (patch)
tree41457a5aee4aa46066994dcf0dc22e9259f3210d /plugins
parent0cfcaf66bf1cc35d65b3f6d2d2b559832e3a11b6 (diff)
downloadlite-xl-plugins-b167553f744d8aba806e806427f0b39ee149f190.tar.gz
lite-xl-plugins-b167553f744d8aba806e806427f0b39ee149f190.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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_sh.lua b/plugins/language_sh.lua
index 7409f2d..f8cf552 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$", "^%.bashrc$", "^%.bash_profile$", "^%.profile$", "%.zsh$", "%.fish$" },
headers = "^#!.*bin.*sh\n",
comment = "#",
patterns = {