My goal is to color specific keywords as function definition such as
Python-mode to a spefic color or color of functions.
Example, pattern for
log("...."): coloring only
from utils import log # no color for log logging.info("hello") # no color for log log("hello world") # color for log
I have tried follows answer for shell-mode
alias keyword is not recognized as font-lock-builtin-face type but it colors all the
(font-lock-add-keywords 'python-mode '(("log" . font-lock-builtin-face)))