Skip to content

Commit

Permalink
Use highlight-function-calls, with a face similar to link
Browse files Browse the repository at this point in the history
  • Loading branch information
ubolonton committed Mar 22, 2020
1 parent d651e74 commit 92d7055
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
7 changes: 5 additions & 2 deletions config/ublt-dark-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -576,14 +576,17 @@ scaled. This \"base face\" trick is used by `ublt-dark-theme.el'."
((,class (,@fw ,@constant))))
`(highlight-numbers-number
((,class (,@fw ,@number))))
`(hl-todo
((,class (:inherit font-lock-warning-face))))

`(lisp-extra-font-lock-quoted
((,class (,@fw))))
`(lisp-extra-font-lock-quoted-function
((,class (,@fw :inherit link))))
`(lisp-extra-font-lock-backquote
((,class (:inherit font-lock-preprocessor-face))))
`(hl-todo
((,class (:inherit font-lock-warning-face))))
`(highlight-function-calls-face
((,class (,@fw :inherit link :underline nil))))

`(js2-function-param
((,class (,@param))))
Expand Down
3 changes: 3 additions & 0 deletions config/ublt-lisp.el
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
(use-package lisp-extra-font-lock
:config (lisp-extra-font-lock-global-mode +1))

(use-package highlight-function-calls
:hook (emacs-lisp-mode . highlight-function-calls-mode))

(use-package ielm
:hook (ielm-mode . (lambda () (setq comint-input-ring-file-name "~/.emacs.d/.ielm-input.hist"))))

Expand Down
6 changes: 2 additions & 4 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,8 @@



;;; Modern Emacs Lisp.
(use-package dash
;; FIX: We cannot use :custom because `dash--enable-fontlock' is not autoloaded.
:config (custom-set-variables '(dash-enable-fontlock t)))
;;; Convenient list functions.
(use-package dash)

(require 'ublt-util)

Expand Down
1 change: 1 addition & 0 deletions straight/versions/default.el
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
("helm-rg" . "785a80fe5cc87e27c5ea3d00a70049028d9e2847")
("helm-swoop" . "884d2f5840108f0171d38fa19ae2334560f5c2d9")
("helpful" . "53ae44bd2384de5e2513496ccf6ca2fce6767299")
("highlight-function-calls" . "f7a1eaf95fc64cc0db4d0567f9ff79ec4ae04787")
("highlight-numbers" . "8b4744c7f46c72b1d3d599d4fb75ef8183dee307")
("highlight-parentheses.el" . "f0bd58c8dadd2db703b7bfd09e911b5fda05b3df")
("highlight-symbol.el" . "7a789c779648c55b16e43278e51be5898c121b3a")
Expand Down

0 comments on commit 92d7055

Please sign in to comment.