diff --git a/ChangeLog b/ChangeLog index d54032595..564077108 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ * syntax/diff.syntax: Lines starting with a character are displayed like lines starting with a . This is for the cvs diff -T option. + * syntax/makefile.syntax: Highlight $$ (a literal $) in + brightcyan. This way $${var} is not highlighted as if it were a + Makefile variables. 2005-05-13 Pavel Roskin diff --git a/syntax/makefile.syntax b/syntax/makefile.syntax index ed8fe5d6b..330453e7e 100644 --- a/syntax/makefile.syntax +++ b/syntax/makefile.syntax @@ -1,5 +1,6 @@ context default + keyword $$ brightcyan keyword $(*) yellow keyword ${*} brightgreen keyword whole linestart define magenta @@ -29,6 +30,7 @@ context linestart # \n brown context exclusive = \n brightcyan keyword \\\n yellow + keyword $$ brightcyan keyword $(*) yellow keyword ${*} brightgreen keyword linestart \t lightgray red @@ -37,6 +39,7 @@ context exclusive = \n brightcyan context exclusive linestart \t \n keyword \\\n yellow + keyword $$ brightcyan keyword $(*) yellow keyword ${*} brightgreen keyword linestart \t lightgray red