Skip to content

Instantly share code, notes, and snippets.

@diptanu
Created January 7, 2012 05:15
Show Gist options
  • Save diptanu/1573867 to your computer and use it in GitHub Desktop.
Save diptanu/1573867 to your computer and use it in GitHub Desktop.
sh_clojure.min.js
if(!this.sh_languages){this.sh_languages={}}sh_languages.clojure=[[[/;/g,"sh_comment",1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",2],[/\b(?:int|byte|boolean|char|long|float|double|short|void)\b/g,"sh_type",-1],[/\((?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*)/g,"sh_function",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1]],[[/$/g,null,-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment