Ticket #3975: mc-4.8.22-syntax.patch

File mc-4.8.22-syntax.patch, 938 bytes (added by asy, 5 years ago)
  • misc/syntax/Syntax.in

    diff --git a/misc/syntax/Syntax.in b/misc/syntax/Syntax.in
    index 306d6f9..00519b5 100644
    a b include diff.syntax 
    3737file ..\*\\.lsm$ LSM\sFile 
    3838include lsm.syntax 
    3939 
    40 file .\*(bash_completion|profile|\\.(sh|bash_login|bash_profile|bash_logout|bash_aliases|bash_exports|bash_history|bashrc|profile|zlogin|zlogout|zprofile|zshenv|zshrc))$ Shell\sScript ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh 
     40file .\*(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 
    4141include sh.syntax 
    4242 
     43file ..\*\\.(busname|(auto)?mount|net(dev|work)|link|path|service|slice|socket|swap|target|timer)$ SystemD\sConfig 
     44include ini.syntax 
     45 
    4346file ..\*\\.((?i:pl|pm|psgi)|t)$ Perl\sProgram ^#!.\*([\s/]perl|@PERL@) 
    4447include perl.syntax 
    4548