Ticket #4022 (closed enhancement: fixed)
Change ini. & sh. syntax highlighting for more filetypes
Reported by: | Smoke | Owned by: | andrew_b |
---|---|---|---|
Priority: | major | Milestone: | 4.8.24 |
Component: | mcedit | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Add highlighting for crontab, fstab, exports and other configs:
file .\*(bash(_completion|rc)|(cron|fs)tab|exports|profile|sudoers|\\.(sh|bash(rc|_(completion|profile|log(in|out)|aliases|exports|history))|conf|list|schema|profile|zlog(in|out)|zprofile|zsh(env|rc)))$ Shell\sScript\s&\sConfig\sFiles ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh include sh.syntax
Add highlighting for .desktop files and various systemd configs:
file ..\*\\.(?i:ini|desktop|busname|(auto)?mount|net(dev|work)|link|path|service|slice|socket|swap|target|timer)$ INI,\sDesktop\s&\sSystemD\sFiles include ini.syntax
Change History
comment:2 Changed 5 years ago by Smoke
- Summary changed from ini. & sh. syntax highlighting for more filetypes to Change ini. & sh. syntax highlighting for more filetypes
comment:3 Changed 5 years ago by andrew_b
- Status changed from new to accepted
- Owner set to andrew_b
- Milestone changed from Future Releases to 4.8.24
comment:4 in reply to: ↑ description Changed 5 years ago by andrew_b
Replying to Smoke:
Add highlighting for crontab, fstab, exports and other configs:
I'm not sure that sh.syntax should use for that files. crontab, fstab, exports, sudoers, .conf, .list, .schema are not shell scripts.
Add highlighting for .desktop files and various systemd configs:
Applied as [37fcb210f2aff5046b3cc6806def396de6f76ace].
Note: See
TracTickets for help on using
tickets.