mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
mcedit: fix colorize *.zsh files.
I need colorizing content of the "*.zsh" files in mcedit. With "zsh(env|rc)" regexp rule, only "*.zshenv" and "*.zshrc" files are will be colorized. With "zsh(env|rc)?" regexp rule, "*.zsh" files will be colorized too. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
37e7ee5a47
commit
626d02998a
@ -51,7 +51,7 @@ include diff.syntax
|
||||
file ..\*\\.lsm$ LSM\sFile
|
||||
include lsm.syntax
|
||||
|
||||
file .\*(bash(_completion|rc)|profile|\\.(sh|bash(rc|_(completion|profile|log(in|out)|aliases|exports|history))|profile|zlog(in|out)|zprofile|zsh(env|rc)))$ Shell\sScript ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh
|
||||
file .\*(bash(_completion|rc)|profile|\\.(sh|bash(rc|_(completion|profile|log(in|out)|aliases|exports|history))|profile|zlog(in|out)|zprofile|zsh(env|rc)?))$ Shell\sScript ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh
|
||||
include sh.syntax
|
||||
|
||||
# Since openrc scripts have no extension "by definition", use an empty pattern
|
||||
|
Loading…
Reference in New Issue
Block a user