Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add more PHP keywords (#16720)

Fabien Salathe79d8b9753175
diff --git a/extensions/php/languages/php/highlights.scm b/extensions/php/languages/php/highlights.scm
index 4f1e35ebf26..6b55cb41484 100644
--- a/extensions/php/languages/php/highlights.scm
+++ b/extensions/php/languages/php/highlights.scm
@@ -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