1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 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.
`zig/textobjects.scm` is helix's query MODIFIED by hand for the zig grammar
pardes builds, which names its nodes differently; its header says how.
Not vendored: fortran, markdown and powershell (helix has no query for
them), and erlang, whose helix query does not compile against the grammar
version pardes builds. Those
grammars have no textobjects, and the keys do nothing there, as in helix
without a query.
|