Skip to content

Instantly share code, notes, and snippets.

@voldern
Created March 9, 2012 15:31
Show Gist options
  • Save voldern/2007026 to your computer and use it in GitHub Desktop.
Save voldern/2007026 to your computer and use it in GitHub Desktop.
(font-lock-add-keywords
'js-mode `(("\\(function *\\)("
(0 (progn (compose-region (match-beginning 1)
(match-end 1) "ƒ")
nil)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment