Ticket #4022 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

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:1 Changed 5 years ago by Smoke

  • Component changed from mc-core to mcedit

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 4 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Milestone changed from Future Releases to 4.8.24

comment:4 in reply to: ↑ description Changed 4 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].

comment:5 Changed 4 years ago by andrew_b

  • Status changed from accepted to testing
  • Resolution set to fixed

comment:6 Changed 4 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.