Skip to content

Instantly share code, notes, and snippets.

@alandipert
Created December 30, 2009 03:10
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alandipert/265810 to your computer and use it in GitHub Desktop.
Save alandipert/265810 to your computer and use it in GitHub Desktop.
# Clojure syntax highlighting for GNU source-highlight
# rocks with SHJS
# http://gist.github.com/265810
comment start ";"
include "number.lang"
vardef SPECIALCHAR = '\\.'
environment string delim "\"" "\"" begin
specialchar = $SPECIALCHAR
end
vardef FUNCTION = '\(([[:alpha:]]|_)[[:word:]]*(?=[[:blank:]]*)'
function = $FUNCTION
include "symbols.lang"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment