I would like to start a different background color beginning from a function to the end.
Like this:
I'm aware you can define background colors from some faces like function and function names like foobar
. But it affects only the background color of the words function
and foobar
. I would like to change the background color of the whole line where the function stats and end with it.
Why, you would ask? It would make it a lot easier for me to distinct which parts belongs to a funcion.
So I'm wondering if there is a pratical way to manage this in Emacs, of there is a Lisp package to achieve something like that?
isearch-highlight
andisearch-dehighlight