aboutsummaryrefslogtreecommitdiffstats
path: root/queries/php
diff options
context:
space:
mode:
authorGeorge Harker <george@george-graphics.co.uk>2023-03-20 14:44:39 -0700
committerAmaan Qureshi <amaanq12@gmail.com>2023-03-24 13:07:53 -0400
commitcb568af5393241e5dbc9c19157c5df5e9ca9af2d (patch)
treee3a1848a3f1c7a03a4ecadd14f95022eaeb52f0f /queries/php
parentsplit delimiter into open_delimiter and close_delimiter (diff)
downloadnvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar
nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar.gz
nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar.bz2
nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar.lz
nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar.xz
nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar.zst
nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.zip
use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md adjust indents for bass fix doc capture comment
Diffstat (limited to 'queries/php')
-rw-r--r--queries/php/indents.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/queries/php/indents.scm b/queries/php/indents.scm
index 1a2bb9017..c490ad77f 100644
--- a/queries/php/indents.scm
+++ b/queries/php/indents.scm
@@ -11,18 +11,18 @@
(match_block)
(case_statement)
"["
-] @indent
+] @indent.begin
[
")"
"}"
"]"
-] @branch
+] @indent.branch
[
(comment)
-] @auto
+] @indent.auto
-(compound_statement "}" @indent_end)
+(compound_statement "}" @indent.end)
-(ERROR) @auto
+(ERROR) @indent.auto