Add more PHP keywords (#16720)

Release Notes:

- Improved PHP highlights by adding more language keywords
This commit is contained in:
Fabien Salathe 2024-08-23 15:51:07 +09:00 committed by GitHub
parent 0fd5030297
commit 79d8b97531
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,6 +80,7 @@
"case" @keyword
"catch" @keyword
"class" @keyword
"clone" @keyword
"const" @keyword
"continue" @keyword
"declare" @keyword
@ -99,6 +100,7 @@
"readonly" @keyword
"finally" @keyword
"foreach" @keyword
"fn" @keyword
"function" @keyword
"global" @keyword
"if" @keyword
@ -107,6 +109,7 @@
"include" @keyword
"insteadof" @keyword
"interface" @keyword
"match" @keyword
"namespace" @keyword
"new" @keyword
"private" @keyword
@ -123,3 +126,4 @@
"use" @keyword
"while" @keyword
"yield" @keyword
"yield from" @keyword