Guys,
Is it possible to highlight the fun invocation in emacs, I add a hook to do
this but not perfect as I am not familiar with the emacs lisp. It looks
like this ,
(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 "#D62255" :weight bold) t)))))
Before applying it
---------
(defn store-string-kv
"store key value which is string"
([key value store charset]
(base/process-kv key value #(base/to-bytes % charset)))
([key value]
(store-string-kv key value mutable/charset)))
After applying it
---------
(defn store-string-kv
"store key value which is string"
([key value store charset]
(*base/process-kv* key value #(base/to-bytes % charset)))
([key value]
(*store-string-kv* key value mutable/charset)))
I am not sure if anybody would like to improve it to be more usable.
Thanks
Julius
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.