Added aliases for 'm' & 'h' for objc.

Added a hash of possible values to select the correct brush based on the suffix.
This fixes a problem where some suffixes did not match brush aliases.
This commit is contained in:
David Parry
2010-11-24 13:25:35 +11:00
parent 09e25adfd8
commit 3ee7fb3042
3 changed files with 42 additions and 5 deletions
+1 -1
View File
@@ -55,5 +55,5 @@ SyntaxHighlighter.brushes.ObjC = function()
};
SyntaxHighlighter.brushes.ObjC.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.ObjC.aliases = ['objc'];
SyntaxHighlighter.brushes.ObjC.aliases = ['objc', 'm', 'h'];