Skip to content

Commit

Permalink
Register more file extensions to Highlighter Scanners
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakknutsen committed Mar 23, 2014
1 parent fcfc98b commit ca09a78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public enum State

public static final String OPTION_START_STATE = "state";

public static final Type TYPE = new Type("GROOVY", "\\.(groovy|gradle)$");
public static final Type TYPE = new Type("GROOVY", "\\.(groovy|gvy|gradle)$");

@Override
public Type getType() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public enum State
.add(EVENT_ATTRIBUTES, EmbeddedType.script)
.add(new String[] { "style" }, EmbeddedType.style);

public static final Type TYPE = new Type("HTML", "\\.(html|xhtml|xml)$");
public static final Type TYPE = new Type("HTML", "\\.(html|htm|xhtml|xml|cfc|cfm|tmproj|xaml)$");

@Override
public Type getType() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public enum State
string
}

public static final Type TYPE = new Type("JSON", "\\.(json)$");
public static final Type TYPE = new Type("JSON", "\\.(json|template)$");

@Override
public Type getType() {
Expand Down

0 comments on commit ca09a78

Please sign in to comment.