summaryrefslogtreecommitdiff
path: root/vendor/queries/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/queries/README.md')
-rw-r--r--vendor/queries/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/queries/README.md b/vendor/queries/README.md
new file mode 100644
index 00000000..abd37d00
--- /dev/null
+++ b/vendor/queries/README.md
@@ -0,0 +1,15 @@
+# Textobject queries
+
+`<grammar>/textobjects.scm` is helix's own query for that grammar, vendored
+from helix (https://github.com/helix-editor/helix) at 278b24389, the
+reference build docs/helix-keys.md names. Each file says where it came from
+and what it inherits, inlined. They are Mozilla Public License 2.0, whose text
+is `helix.LICENSE` here. They give `]f`, `[f`, `mif` and the other
+tree-sitter textobject keys what a function, class, argument, comment, test,
+entry or element is.
+
+Not vendored: fortran, markdown and powershell (helix has no query for
+them), and erlang and zig, whose helix queries do not compile against the
+grammar versions pardes builds (a node name either side has renamed). Those
+grammars have no textobjects, and the keys do nothing there, as in helix
+without a query.