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

Update for Syntax.in file #3057

Closed
mc-butler opened this issue Aug 16, 2013 · 3 comments
Closed

Update for Syntax.in file #3057

mc-butler opened this issue Aug 16, 2013 · 3 comments
Labels
area: mcedit mcedit, the built-in text editor prio: low Minor problem or easily worked around
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/3057
Reporter tiandrey (@tiandrey)
Keywords syntax

This patch fixes syntax highlighting for files in .config directory (I was wondering why my rc.lua file in ~/.config/awesome is highlighted as 'Java File' while in /etc/xdg/awesome it was highlighted correctly).

--- a/mc-4.8.9/misc/syntax/Syntax.in
+++ b/mc-4.8.9/misc/syntax/Syntax.in
@@ -117,3 +117,3 @@
 
-file ..\*\\.(properties|config) Java\sFile
+file ..\*\\.(properties|config)$ Java\sFile
 include properties.syntax

P.S.: Don't you think that ".config" files may belong not only to Java projects?

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Oct 9, 2013 at 9:39 UTC

  • Blocked by set to #3051

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 25, 2013 at 9:50 UTC

  • Blocked by #3051 deleted

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 25, 2013 at 9:53 UTC (comment 3)

  • Status changed from new to closed
  • Milestone changed from Future Releases to 4.8.11
  • Resolution set to fixed

Fixed: [b34e1d2].

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: low Minor problem or easily worked around
Development

No branches or pull requests

1 participant