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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user