aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpon
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/cpon
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/cpon')
-rw-r--r--queries/cpon/indents.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/queries/cpon/indents.scm b/queries/cpon/indents.scm
index 477ea83b5..5f52ea6a1 100644
--- a/queries/cpon/indents.scm
+++ b/queries/cpon/indents.scm
@@ -3,21 +3,21 @@
(map)
(imap)
(array)
-] @indent
+] @indent.begin
[
"]"
"}"
">"
-] @indent_end
+] @indent.end
-[ "{" "}" ] @branch
+[ "{" "}" ] @indent.branch
-[ "[" "]" ] @branch
+[ "[" "]" ] @indent.branch
-[ "<" ">" ] @branch
+[ "<" ">" ] @indent.branch
[
(ERROR)
(comment)
-] @auto
+] @indent.auto