diff options
| author | Steven Sojka <steelsojka@gmail.com> | 2020-08-16 11:24:10 -0500 |
|---|---|---|
| committer | Kiyan Yazdani <yazdani.kiyan@protonmail.com> | 2020-08-16 18:31:56 +0200 |
| commit | ce43dbf54cdc017e6885381f38ea056f78c4e55b (patch) | |
| tree | 27a4e0475002d2e3845e942cab8d57aeea679bff /queries/php | |
| parent | Merge pull request #296 from steelsojka/feat-is-predicate (diff) | |
| download | nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar.gz nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar.bz2 nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar.lz nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar.xz nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.tar.zst nvim-treesitter-ce43dbf54cdc017e6885381f38ea056f78c4e55b.zip | |
fix(queries): use vim-match for non lua regexes
Diffstat (limited to 'queries/php')
| -rw-r--r-- | queries/php/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm index a74c5b619..3ec2b5916 100644 --- a/queries/php/highlights.scm +++ b/queries/php/highlights.scm @@ -42,7 +42,7 @@ (relative_scope) @variable.builtin ((name) @constant - (#match? @constant "^_?[A-Z][A-Z\d_]+$")) + (#vim-match? @constant "^_?[A-Z][A-Z\d_]+$")) ((name) @constructor (#match? @constructor "^[A-Z]")) |
