Ticket #3057 (closed enhancement: fixed)

Opened 11 years ago

Last modified 11 years ago

Update for Syntax.in file

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

Description

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 11 years ago by slavazanko

  • Blocked By 3051 added

comment:2 Changed 11 years ago by andrew_b

  • Blocked By 3051 removed

comment:3 Changed 11 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from Future Releases to 4.8.11
Note: See TracTickets for help on using tickets.