aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/language_php.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/language_php.lua b/plugins/language_php.lua
index 610d77d..da50dd4 100644
--- a/plugins/language_php.lua
+++ b/plugins/language_php.lua
@@ -89,12 +89,14 @@ syntax.add {
["finally"] = "keyword",
["class"] = "keyword",
+ ["enum"] = "keyword",
["trait"] = "keyword",
["interface"] = "keyword",
["public"] = "keyword",
["static"] = "keyword",
["protected"] = "keyword",
["private"] = "keyword",
+ ["readonly"] = "keyword",
["abstract"] = "keyword",
["final"] = "keyword",
["$this"] = "literal",
@@ -120,6 +122,7 @@ syntax.add {
["parent"] = "literal",
["self"] = "literal",
["mixed"] = "literal",
+ ["never"] = "literal",
["namespace"] = "keyword",
["extends"] = "keyword",