serenadeai / serenade

Apache License 2.0
317 stars 57 forks source link

apply filterByParent to element #3

Closed tmacwill closed 2 years ago

tmacwill commented 2 years ago

Approved Issue: #2

Description

make elements behave like arguments, where numeric indexing applies to the list your cursor is in.

Test Plan

added unit test

Pre-Review Checklist

[x] I've performed a self-review of my own code [x] I've run the pre-commit hook to enforce code style [x] I've added or corresponding updated tests [x] I've run all tests and there were no failures [x] I've updated the documentation, if applicable