Skip to content

Instantly share code, notes, and snippets.

@codebrainz
Created May 22, 2011 07:33
Show Gist options
  • Save codebrainz/985252 to your computer and use it in GitHub Desktop.
Save codebrainz/985252 to your computer and use it in GitHub Desktop.
Add 'enum' keyword for Java 5.0
diff --git a/data/filetypes.java b/data/filetypes.java
index 57a4843..633daa9 100644
--- a/data/filetypes.java
+++ b/data/filetypes.java
@@ -26,7 +26,7 @@ globalclass=type
[keywords]
primary=abstract assert break case catch class const continue default do else extends final finally for future generic goto if implements import inner instanceof interface native new outer package private protected public rest return static super switch synchronized this throw throws transient try var volatile while true false null
-secondary=boolean byte char double float int long short void
+secondary=boolean byte char double float int long short void enum
# documentation keywords for javadoc
doccomment=author deprecated exception param return see serial serialData serialField since throws todo version
typedefs=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment