aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilman Barrios <wilmanbarrios@gmail.com>2021-08-21 01:05:01 -0400
committerStephan Seitz <stephan.seitz@fau.de>2021-09-17 21:06:36 +0200
commitec17095e221b05af07b63892ac31e2cc40703e6c (patch)
tree0fc50d1e62869988c1712dffa05daf6a6ec87e99
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-ec17095e221b05af07b63892ac31e2cc40703e6c.tar
nvim-treesitter-ec17095e221b05af07b63892ac31e2cc40703e6c.tar.gz
nvim-treesitter-ec17095e221b05af07b63892ac31e2cc40703e6c.tar.bz2
nvim-treesitter-ec17095e221b05af07b63892ac31e2cc40703e6c.tar.lz
nvim-treesitter-ec17095e221b05af07b63892ac31e2cc40703e6c.tar.xz
nvim-treesitter-ec17095e221b05af07b63892ac31e2cc40703e6c.tar.zst
nvim-treesitter-ec17095e221b05af07b63892ac31e2cc40703e6c.zip
highlights(php): add `instanceof` as `@keyword` (#1728)
-rw-r--r--README.md2
-rw-r--r--queries/php/highlights.scm1
2 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3adc18b5b..685e046a5 100644
--- a/README.md
+++ b/README.md
@@ -206,7 +206,7 @@ We are looking for maintainers to add more parsers and to write query files for
- [x] [svelte](https://github.com/Himujjal/tree-sitter-svelte) (maintained by @elianiva)
- [ ] [swift](https://github.com/tree-sitter/tree-sitter-swift)
- [x] [teal](https://github.com/euclidianAce/tree-sitter-teal) (maintained by @euclidianAce)
-- [x] [tlaplus](https://github.com/tlaplus-community/tree-sitter-tlaplus/) (maintained by @ahelwer)
+- [x] [tlaplus](https://github.com/tlaplus-community/tree-sitter-tlaplus) (maintained by @ahelwer)
- [x] [toml](https://github.com/ikatyang/tree-sitter-toml) (maintained by @tk-shirasaka)
- [x] [tsx](https://github.com/tree-sitter/tree-sitter-typescript) (maintained by @steelsojka)
- [x] [turtle](https://github.com/BonaBeavis/tree-sitter-turtle) (maintained by @bonabeavis)
diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm
index d3dfff0b7..00a33ab4e 100644
--- a/queries/php/highlights.scm
+++ b/queries/php/highlights.scm
@@ -100,6 +100,7 @@
"global"
"implements"
"insteadof"
+ "instanceof"
"interface"
"namespace"
"new"