diff options
author | Oskar Kvist <oskar.kvist@gmail.com> | 2017-09-25 11:08:23 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2017-09-25 12:08:23 +0300 |
commit | 39d86a6eada21eaeeac5018753539b92eeee1ea5 (patch) | |
tree | fed86c0660d5055256b9ae91930a4f0f1a7813a0 /cider-mode.el | |
parent | 93bdb460540fc49dc441ca0b83d7cc861c40ee33 (diff) |
[Fix #2088] Font-lock properly fns defined with def (#2086)
Diffstat (limited to 'cider-mode.el')
-rw-r--r-- | cider-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cider-mode.el b/cider-mode.el index 5d0c6115..c39617bf 100644 --- a/cider-mode.el +++ b/cider-mode.el @@ -580,7 +580,8 @@ with the given LIMIT." (push sym deprecated)) (cond ((and do-macro (nrepl-dict-get meta "macro")) (push sym macros)) - ((and do-function (nrepl-dict-get meta "arglists")) + ((and do-function (or (nrepl-dict-get meta "fn") + (nrepl-dict-get meta "arglists"))) (push sym functions)) (do-var (push sym vars)))))))) (when (memq 'core cider-font-lock-dynamically) |