Commit 8ef4e23
Talon language support (#1555)
Resolves #817
**Condition**
- [x] context match
- [x] every context match
**Command**
- [x] command
- [x] every command
**Statement**
- [x] command line
- [x] command block
- [x] settings block
- [x] script action call
- [x] script key action call
- [x] script sleep action call
- [x] script assignment
- [x] key binding
- [x] tag binding
- [x] gamepad binding
- [x] parrot binding
- [x] face binding
- [x] every statement in file
- [x] every statement in command block
- [x] every statement in settings block
**Name / Collection key**
- [x] context match left
- [x] command left
- [x] settings block left
- [x] setting left
- [x] tag() left
- [x] key() left
- [x] gamepad() left
- [x] face() left
- [x] parrot() left
- [x] every name/key in context block
- [x] every name/key in file
**Value**
- [x] context match right
- [x] command right
- [x] settings block right
- [x] setting right
- [x] tag() right
- [x] key() right
- [x] gamepad() right
- [x] face() right
- [x] parrot() right
- [x] every value in context block
- [x] every value in settings block
- [x] every value in file
**Interior**
- [x] command right
- [ ] settings block right
- [x] every command interior in file
**Function call**
- [x] action
- [x] key action
- [x] sleep action
- [x] every call in command block
**Function callee**
- [x] action
- [x] key action
- [x] sleep action
- [x] every callee in command block
**Argument or parameter**
- [x] action
- [x] key action
- [x] sleep action
- [x] every argument in action
**Update Tree sitter patterns**
- [x] Exclude leading/trailing whitespace from `implicit_string`
Waiting for release of
wenkokke/tree-sitter-talon#23
- [x] Removed trailing parentheses `key(` and `sleep(` actions
~~Waiting for release of
wenkokke/tree-sitter-talon#26
Instead solved with a pattern predicate
## Checklist
- [x] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] Look into failures with new tree-sitter-talon. Do they occur on
shipped version?
- [ ] "every value bat" in
aaa: "bbb"
ccc: "ddd"
- [x] wenkokke/tree-sitter-talon#29
- [x] `"take key"` targeting `settings()`
- [x] `"take key"` targeting `tag()`
- [x] Rollback whitespace removal
- [x] If the above are all fine on shipped tree-sitter-talon, let's just
file follow-up to upgrade tree-sitter-talon later
- [ ] I have updated the
[docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and
[cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
- [x] I have not broken the cheatsheet
---------
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>1 parent 7c03fb7 commit 8ef4e23
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
0 commit comments