Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ini. & sh. syntax highlighting for more filetypes #4022

Closed
mc-butler opened this issue Oct 1, 2019 · 6 comments
Closed

Change ini. & sh. syntax highlighting for more filetypes #4022

mc-butler opened this issue Oct 1, 2019 · 6 comments
Assignees
Labels
area: mcedit mcedit, the built-in text editor prio: medium Has the potential to affect progress
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/4022
Reporter Smoke (@Smoque)

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
@mc-butler
Copy link
Author

Changed by Smoke (@Smoque) on Oct 1, 2019 at 2:01 UTC (comment 1)

  • Component changed from mc-core to mcedit

@mc-butler
Copy link
Author

Changed by Smoke (@Smoque) on Oct 1, 2019 at 2:28 UTC (comment 2)

  • Summary changed from ini. & sh. syntax highlighting for more filetypes to Change ini. & sh. syntax highlighting for more filetypes

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 4, 2019 at 8:40 UTC (comment 3)

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

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 4, 2019 at 8:48 UTC

Replying to Smoke (#4022):

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 [37fcb21].

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jan 14, 2020 at 17:35 UTC (comment 5)

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

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jan 14, 2020 at 17:36 UTC (comment 6)

  • Status changed from testing to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mcedit mcedit, the built-in text editor prio: medium Has the potential to affect progress
Development

No branches or pull requests

2 participants