Add the highlight and syntax for the enums

It highlights the name of an enum the same way it highlights the one of
a class.
This commit is contained in:
Ludovic Koenig
2019-04-30 22:38:43 +02:00
parent 4e8c85fae3
commit f6ed184a36
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -19,6 +19,7 @@
syntax keyword javaOdysseyThis this
syntax match javaOdysseyClass "\%(\<class\>\s\+\)\@<=\<\u\w*\>"
syntax match javaOdysseyInterface "\%(\<interface\>\s\+\)\@<=\<\u\w*\>"
syntax match javaOdysseyEnum "\%(\<enum\>\s\+\)\@<=\<\u\w*\>"
syntax match javaOdysseyArray "\[\]" contained
syntax match javaOdysseyGeneric "[><]" contained
syntax match javaOdysseySeparator "," contained