Commit b3621f5
committed
feat: predicates can begin with "."
This commit restricts identifiers to not start with "." and also allows
predicates to be denoted with "." as well as "#", as specified by
`query.c`.
See https://github.com/tree-sitter/tree-sitter/blob/9c8055765849eee39f69a8eda7d2a5aede2b2e60/lib/src/query.c#L2308
and https://github.com/emacs-tree-sitter/tree-sitter-langs/blob/b955ffbe26b3a7e931f116720efa7dee9de35174/queries/hcl/highlights.terraform-mode.scm#L131 parent a6674e2 commit b3621f5
File tree
5 files changed
+3108
-5412
lines changed- src
- test/corpus
5 files changed
+3108
-5412
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
127 | | - | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments