* syntax/changelog.syntax: Highlight functions without filenames.

* syntax/Syntax: Match *ChangeLog*.
This commit is contained in:
Pavel Roskin 2002-07-18 19:33:27 +00:00
parent 4dbe6133e8
commit cfbf39a89e
3 changed files with 18 additions and 4 deletions

View File

@ -1,5 +1,9 @@
2002-07-18 Pavel Roskin <proski@gnu.org>
* syntax/changelog.syntax: Highlight functions without
filenames.
* syntax/Syntax: Match *ChangeLog*.
* syntax/c.syntax: Reenable highlighting for "/" and preserve
highlighting for "//" comments by using exclusive context.
* syntax/java.syntax: Likewise.

View File

@ -96,7 +96,7 @@ include octave.syntax
file ..\*\\.(sql|SQL)$ SQL\sProgram
include sql.syntax
file .\*ChangeLog$ GNU\sDistribution\sChangeLog\sFile
file .\*ChangeLog[\\\.A-Za-z0-9_]\*$ GNU\sChangeLog\sFile
include changelog.syntax
file .\*[Mm]akefile[\\\.a-z]\*$ Makefile

View File

@ -1,9 +1,19 @@
context default
keyword wholeright +() brightmagenta/23
spellcheck
context linestart \t\*\s : brightcyan/17
context linestart \s\s\s\s\s\s\s\s\*\s : brightcyan/17
context linestart \t \n\n
keyword wholeright +() brightmagenta/23
keyword \*\s*: brightcyan/17
keyword (*): cyan/16
keyword (*)\{\s\}[*]: cyan/16
keyword whole \* brightcyan/17
context linestart \s\s\s\s\s\s\s\s \n\n
keyword wholeright +() brightmagenta/23
keyword \*\s*: brightcyan/17
keyword (*): cyan/16
keyword (*)\{\s\}[*]: cyan/16
keyword whole \* brightcyan/17
context linestart 19+-+\s \n yellow/24
keyword <+> brightred/19