emacsorphanage / helm-swoop

Efficiently hopping squeezed lines powered by Emacs helm interface
GNU General Public License v3.0
688 stars 55 forks source link

Formatting #189

Open AtomicNess123 opened 4 years ago

AtomicNess123 commented 4 years ago

Hi, is it possible to change formatting and highlighting of the helm-swoop function? For instance, make font bigger of the selected found expression. Thanks!

conao3 commented 4 years ago

From @conao3

Customizing below faces is not satisfy your intention?

(defface helm-swoop-target-line-face
'((t (:background "#e3e300" :foreground "#222222")))
"Face for helm-swoop target line"
:group 'helm-swoop)
(defface helm-swoop-target-line-block-face
'((t (:background "#cccc00" :foreground "#222222")))
"Face for target line"
:group 'helm-swoop)
(defface helm-swoop-target-word-face
'((t (:background "#7700ff" :foreground "#ffffff")))
"Face for target word"
:group 'helm-swoop)
(defface helm-swoop-line-number-face
'((t (:foreground "#999999")))
"Face for line numbers"
:group 'helm-swoop)

From @Gahamelas For some reason this does not have an effect when I add it in my init.el and restart emacs.

AtomicNess123 commented 3 years ago

Thanks and sorry for the delay! I aim at this look, but not sure which faces to target.

Screenshot 2020-08-14 at 6 09 00

As I mentioned earlier, copy pasting your deface code into my init, does not have any effect whatsoever.