mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Merge branch '3975_syntax'
* 3975_syntax: Use ini.syntax for systemd cofiguration files. Ticket #3975: expand syntax highlighting rules.
This commit is contained in:
commit
673dd73ac0
@ -37,9 +37,12 @@ include diff.syntax
|
||||
file ..\*\\.lsm$ LSM\sFile
|
||||
include lsm.syntax
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
file ..\*\\.(busname|(auto)?mount|net(dev|work)|link|path|service|slice|socket|swap|target|timer)$ SystemD\sConfig
|
||||
include ini.syntax
|
||||
|
||||
file ..\*\\.((?i:pl|pm|psgi)|t)$ Perl\sProgram ^#!.\*([\s/]perl|@PERL@)
|
||||
include perl.syntax
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user