-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to using lisp-specific (paredit) emit and capture for now
It would be nice to have a common (Symex) implementation of these features for Lisp and tree-sitter, but it may be that doing these operations purely in a structural way ends up having behavior (like indenting according to the new structure) that we don't necessarily want, as it often isn't invertible/idempotent. Handling trailing whitespace also seems problematic and prone to special cases. Understanding the right approach will take more careful analysis of each case. For now, we will revert to the earlier implementation as it works well for Lisp (but doesn't for tree-sitter, of course), and leave the tree-sitter features unimplemented. We can return to this in the future to see what the best thing to do would be.
- Loading branch information
1 parent
a6578b5
commit 52f885b
Showing
4 changed files
with
104 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters