diff options
author | Chaitanya Koparkar <ckoparkar@live.in> | 2016-05-19 19:52:27 +0530 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2016-05-19 07:22:27 -0700 |
commit | 9b611ae41d59d1e58d2acc8c889ea41740ea2760 (patch) | |
tree | 7bdcec852a566c51341aba3cc4fb4543aa51ed25 /cider-util.el | |
parent | 526e9b242472875d399f9ac02a7fcb8fa7e2de7d (diff) |
Add font-lock-variable-name-face in cider-propertize (#1753)
Diffstat (limited to 'cider-util.el')
-rw-r--r-- | cider-util.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cider-util.el b/cider-util.el index 1bfed5d0..920c32f3 100644 --- a/cider-util.el +++ b/cider-util.el @@ -602,9 +602,10 @@ Return buffer column number at position POS." (defun cider-propertize (text kind) "Propertize TEXT as KIND. -KIND can be the symbols `ns', `var', `emph', or a face name." +KIND can be the symbols `ns', `var', `emph', `fn', or a face name." (propertize text 'face (pcase kind - (`var 'font-lock-function-name-face) + (`fn 'font-lock-function-name-face) + (`var 'font-lock-variable-name-face) (`ns 'font-lock-type-face) (`emph 'font-lock-keyword-face) (face face)))) |