I want my local function names (those declared in the current file and picked by font-lock-function-name-face) and my variable names (font-lock-variable-name-face) to be highlighted across the whole buffer. Currently font-lock-function-name-face and font-lock-variable-name-face highlight only declarations and not references.
Asked
Active
Viewed 290 times
1
font-lock-function-name-face
andfont-lock-variable-name-face
then? I feel like there's a nuance here that I'm not following in your original question. – cyberbisson Jul 03 '19 at 16:07#include
or Pythonʼsimport
. It would be even more confusing when names are just there, like in Elisp (you donʼt need to import anything for a function defined outside your file to be available). – GergelyPolonkai Jul 11 '19 at 06:25