diff options
author | jgmdev <jgmdev@gmail.com> | 2022-01-17 14:23:06 -0400 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2022-01-17 14:23:06 -0400 |
commit | f5c5fd4b86d85a4a777a10bef083df75ebff42db (patch) | |
tree | e89190b4ccce7a343e97844d882a71222b4d441e /plugins/language_php.lua | |
parent | 2d8a20917b97b64425adedb37f2c0d438b42ab24 (diff) | |
download | lite-xl-plugins-f5c5fd4b86d85a4a777a10bef083df75ebff42db.tar.gz lite-xl-plugins-f5c5fd4b86d85a4a777a10bef083df75ebff42db.zip |
language_php: added new PHP 8.1 keywords.
Diffstat (limited to 'plugins/language_php.lua')
-rw-r--r-- | plugins/language_php.lua | 3 |
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", |