emacsorphanage / helm-ag

The silver searcher with helm interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

modifying the faces of outputs

iburunat opened this issue · comments

I am setting

(setq helm-ag-base-command "ag --nocolor --nogroup --colors=match:fg:magenta --colors=line:bg:yellow)

in order to change the faces of the outputs so I can spot better the found query.
I don't seem to be able to manage with the above specifications. They seem to be overriden by the default ones. Thanks in advance!

;; for file name
(set-face-attribute 'helm-moccur-buffer nil
		    :foreground "pink")

;; for line
(set-face-attribute 'helm-grep-lineno nil
		    :background "yellow")

;; for matched text
(set-face-attribute 'helm-match nil
		    :foreground "magenta")

Screenshot from 2020-05-22 23-03-54

Thanks! I suppose --colors=match:fg:magenta --colors=line:bg:yellow would only work as a terminal command. I wouldn't have known how to find the face-attributes.