aboutsummaryrefslogtreecommitdiffstats
path: root/queries/ocaml
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-06-01 13:37:08 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-06-02 12:07:58 +0200
commita80fe081b4c5890980561e0de2458f64aaffbfc7 (patch)
tree0dcd1c72c83e3860e0880a3d7fcba88c0160e9a3 /queries/ocaml
parentbot(lockfile): update styled (diff)
downloadnvim-treesitter-a80fe081b4c5890980561e0de2458f64aaffbfc7.tar
nvim-treesitter-a80fe081b4c5890980561e0de2458f64aaffbfc7.tar.gz
nvim-treesitter-a80fe081b4c5890980561e0de2458f64aaffbfc7.tar.bz2
nvim-treesitter-a80fe081b4c5890980561e0de2458f64aaffbfc7.tar.lz
nvim-treesitter-a80fe081b4c5890980561e0de2458f64aaffbfc7.tar.xz
nvim-treesitter-a80fe081b4c5890980561e0de2458f64aaffbfc7.tar.zst
nvim-treesitter-a80fe081b4c5890980561e0de2458f64aaffbfc7.zip
feat(predicates)!: rename `has-type` to `kind-eq` to align with Helix
No point in having a different name for the same predicate.
Diffstat (limited to 'queries/ocaml')
-rw-r--r--queries/ocaml/indents.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/ocaml/indents.scm b/queries/ocaml/indents.scm
index 9181dcadf..d7f05367d 100644
--- a/queries/ocaml/indents.scm
+++ b/queries/ocaml/indents.scm
@@ -28,7 +28,7 @@
((else_clause
(_) @_not_if) @indent.begin
- (#not-has-type? @_not_if if_expression))
+ (#not-kind-eq? @_not_if "if_expression"))
((parameter) @indent.begin
(#set! indent.start_at_same_line))