Ticket #3056 (closed enhancement: duplicate)

Opened 7 years ago

Last modified 3 years ago

Update for Syntax.in file

Reported by: tiandrey Owned by:
Priority: major Milestone:
Component: mcedit Version: master
Keywords: syntex Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:


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?

Change History

comment:1 Changed 7 years ago by tiandrey

Sorry for typo, unfortunately that ticket is doubled by #3057 (without typo).

comment:2 Changed 7 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to duplicate

comment:3 Changed 3 years ago by andrew_b

  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.