Skip to content

Instantly share code, notes, and snippets.

@weejulius
Created June 27, 2013 00:26
Show Gist options
  • Save weejulius/5873021 to your computer and use it in GitHub Desktop.
Save weejulius/5873021 to your computer and use it in GitHub Desktop.
(add-hook 'clojure-mode-hook
'(lambda ()
(font-lock-add-keywords
nil
'(("\\(\\<[a-zA-Z0-9\-\._\?]+\\>" 1 '(:foreground "red") t)))))
@weejulius
Copy link
Author

(add-hook
'clojure-mode-hook
'(lambda ()
(font-lock-add-keywords
nil
'(("(([^(def|fn|try|catch|let|if|else|long)][a-zA-Z0-9-._?/!>]+)[\t \n)]+" 1 '(:foreground "red") t)))))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment